2022-08-02 12:51:52

by Jason Wang

[permalink] [raw]
Subject: [PATCH] USB: UHCI: Fix comment typo

The second `then' might be a typo, replace it to `the'.

Signed-off-by: Jason Wang <[email protected]>
---
drivers/usb/host/uhci-q.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c
index 35fcb826152c..09b721336b23 100644
--- a/drivers/usb/host/uhci-q.c
+++ b/drivers/usb/host/uhci-q.c
@@ -345,7 +345,7 @@ static int uhci_cleanup_queue(struct uhci_hcd *uhci, struct uhci_qh *qh,
goto done;
}

- /* If the QH element pointer is UHCI_PTR_TERM then then currently
+ /* If the QH element pointer is UHCI_PTR_TERM then the currently
* executing URB has already been unlinked, so this one isn't it. */
if (qh_element(qh) == UHCI_PTR_TERM(uhci))
goto done;
--
2.35.1