Commit 781b2137 authored by Matthias Beyer's avatar Matthias Beyer Committed by Greg Kroah-Hartman

drivers: usb: core: hub.c: Comments shouldnt be C99 // comment style

Signed-off-by: default avatarMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1335f2d2
...@@ -2493,7 +2493,7 @@ int usb_authorize_device(struct usb_device *usb_dev) ...@@ -2493,7 +2493,7 @@ int usb_authorize_device(struct usb_device *usb_dev)
usb_autosuspend_device(usb_dev); usb_autosuspend_device(usb_dev);
error_autoresume: error_autoresume:
out_authorized: out_authorized:
usb_unlock_device(usb_dev); // complements locktree usb_unlock_device(usb_dev); /* complements locktree */
return result; return result;
} }
...@@ -3215,7 +3215,7 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg) ...@@ -3215,7 +3215,7 @@ int usb_port_resume(struct usb_device *udev, pm_message_t msg)
if (status == 0 && !port_is_suspended(hub, portstatus)) if (status == 0 && !port_is_suspended(hub, portstatus))
goto SuspendCleared; goto SuspendCleared;
// dev_dbg(hub->intfdev, "resume port %d\n", port1); /* dev_dbg(hub->intfdev, "resume port %d\n", port1); */
set_bit(port1, hub->busy_bits); set_bit(port1, hub->busy_bits);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment