Skip to contentSkip to conversation

usb: core: hub: Fix comment typo

PATCH New Jason Wang 1 participant 1 message Aug 2, 2022 USB

lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 usb: core: hub: Fix comment typo

The double `can' is duplicated in the comment, remove one.

---
 drivers/usb/core/hub.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/core/hub.c +1 -1
index 2633acde7ac1..7d19f09dbd01 100644
@@ -2036,7 +2036,7 @@ static void recursively_mark_NOTATTACHED(struct usb_device *udev)
  *
  * udev->state is _not_ fully protected by the device lock.  Although
  * most transitions are made only while holding the lock, the state can
- * can change to USB_STATE_NOTATTACHED at almost any time.  This
+ * change to USB_STATE_NOTATTACHED at almost any time.  This
  * is so that devices can be marked as disconnected as soon as possible,
  * without having to wait for any semaphores to be released.  As a result,
  * all changes to any device's state must be protected by the
Signature · 1 line
2.35.1