[PATCH] xhci: Fix typo 'the the' in comment

Slark Xiao posted 1 patch 3 years, 8 months ago
drivers/usb/host/xhci-ring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] xhci: Fix typo 'the the' in comment
Posted by Slark Xiao 3 years, 8 months ago
Replace 'the the' with 'the' in the comment.

Signed-off-by: Slark Xiao <slark_xiao@163.com>
---
 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
Re: [PATCH] xhci: Fix typo 'the the' in comment
Posted by Greg KH 3 years, 8 months ago
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 <slark_xiao@163.com>
> ---
>  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.