提交 781b2137 编写于 作者: M Matthias Beyer 提交者: Greg Kroah-Hartman

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

Signed-off-by: NMatthias Beyer <mail@beyermatthias.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 1335f2d2
......@@ -2493,7 +2493,7 @@ int usb_authorize_device(struct usb_device *usb_dev)
usb_autosuspend_device(usb_dev);
error_autoresume:
out_authorized:
usb_unlock_device(usb_dev); // complements locktree
usb_unlock_device(usb_dev); /* complements locktree */
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))
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册