2022-07-22 09:59:46

by Slark Xiao

[permalink] [raw]
Subject: [PATCH] xhci: Fix typo 'the the' in comment

Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <[email protected]>
---
drivers/usb/host/xhci-ring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index 46d0b9ad6f74..ad81e9a508b1 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -1964,7 +1964,7 @@ static void handle_port_status(struct xhci_hcd *xhci,

/*
* Check to see if xhci-hub.c is waiting on RExit to U0 transition (or
- * RExit to a disconnect state). If so, let the the driver know it's
+ * RExit to a disconnect state). If so, let the driver know it's
* out of the RExit state.
*/
if (!DEV_SUPERSPEED_ANY(portsc) && hcd->speed < HCD_USB3 &&
--
2.25.1


2022-07-27 13:13:32

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH] xhci: Fix typo 'the the' in comment

On Fri, Jul 22, 2022 at 05:53:25PM +0800, Slark Xiao wrote:
> Replace 'the the' with 'the' in the comment.
>
> Signed-off-by: Slark Xiao <[email protected]>
> ---
> drivers/usb/host/xhci-ring.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
> index 46d0b9ad6f74..ad81e9a508b1 100644
> --- a/drivers/usb/host/xhci-ring.c
> +++ b/drivers/usb/host/xhci-ring.c
> @@ -1964,7 +1964,7 @@ static void handle_port_status(struct xhci_hcd *xhci,
>
> /*
> * Check to see if xhci-hub.c is waiting on RExit to U0 transition (or
> - * RExit to a disconnect state). If so, let the the driver know it's
> + * RExit to a disconnect state). If so, let the driver know it's
> * out of the RExit state.
> */
> if (!DEV_SUPERSPEED_ANY(portsc) && hcd->speed < HCD_USB3 &&
> --
> 2.25.1
>

Someone else already sent this before you did, sorry.