]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
USB: storage: Remove obsolete "FIXME"
authorMikhail Zaytsev <flashed@mail.ru>
Thu, 30 Nov 2017 08:54:07 +0000 (11:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Dec 2017 08:21:18 +0000 (09:21 +0100)
The fix of "FIXME: Notify the subdrivers..." doesn't actually have any
 real effect. The "FIXME" changed to simple comment.

Signed-off-by: Mikhail Zaytsev <flashed@mail.ru>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/usb.c

index a0c07e05a8f142f300cf6567f863dfa356e17e90..3eb9347924655f09d501f2d3e1e991819b562aff 100644 (file)
@@ -211,8 +211,8 @@ int usb_stor_reset_resume(struct usb_interface *iface)
        usb_stor_report_bus_reset(us);
 
        /*
-        * FIXME: Notify the subdrivers that they need to reinitialize
-        * the device
+        * If any of the subdrivers implemented a reinitialization scheme,
+        * this is where the callback would be invoked.
         */
        return 0;
 }
@@ -243,8 +243,8 @@ int usb_stor_post_reset(struct usb_interface *iface)
        usb_stor_report_bus_reset(us);
 
        /*
-        * FIXME: Notify the subdrivers that they need to reinitialize
-        * the device
+        * If any of the subdrivers implemented a reinitialization scheme,
+        * this is where the callback would be invoked.
         */
 
        mutex_unlock(&us->dev_mutex);