drivers: usb: core: hub.c: Comments shouldnt be C99 // comment style
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1335f2d2ba
commit
781b2137e3
@ -2493,7 +2493,7 @@ error_device_descriptor:
|
|||||||
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)
|
|||||||
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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user