]> err.no Git - linux-2.6/blobdiff - drivers/usb/storage/usb.c
USB: drivers/usb/storage/sddr55.c: fix uninitialized var warnings
[linux-2.6] / drivers / usb / storage / usb.c
index 3451e8d03ab0e4653ff2f7208077f565f7294e19..ac6114eea0c3008f6f328ecd1bcf74368c837929 100644 (file)
@@ -907,12 +907,9 @@ static int usb_stor_scan_thread(void * __us)
        if (delay_use > 0) {
                printk(KERN_DEBUG "usb-storage: waiting for device "
                                "to settle before scanning\n");
-retry:
-               wait_event_interruptible_timeout(us->delay_wait,
+               wait_event_freezable_timeout(us->delay_wait,
                                test_bit(US_FLIDX_DISCONNECTING, &us->flags),
                                delay_use * HZ);
-               if (try_to_freeze())
-                       goto retry;
        }
 
        /* If the device is still connected, perform the scanning */