reset unmount vconfkey when unmount routine failed
[framework/system/system-server.git] / ss_usb_handler.c
index b97c358..815aca7 100644 (file)
@@ -37,8 +37,7 @@ int ss_usb_init()
                        vconf_set_int(VCONFKEY_SYSMAN_USB_STATUS,
                                        VCONFKEY_SYSMAN_USB_AVAILABLE);
                        while (i < RETRY
-                                       && pm_lock_state(LCD_OFF, STAY_CUR_STATE,
-                                               0) == -1) {
+                                       && pm_lock_state(LCD_OFF, STAY_CUR_STATE, 0) == -1) {
                                i++;
                                sleep(1);
                        }