Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1437451imw; Sat, 16 Jul 2022 06:40:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vZ2BjHh8OzpSicmKjlHifjw4/+a2hLJ2CFW6cYD9HKQIhs4FiWO92h0x5ZkUQT3h63Fb6F X-Received: by 2002:a17:907:2e01:b0:72b:740c:154a with SMTP id ig1-20020a1709072e0100b0072b740c154amr17838001ejc.576.1657978823181; Sat, 16 Jul 2022 06:40:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657978823; cv=none; d=google.com; s=arc-20160816; b=l7e6TR1qYHXjDTX6xsg3JHmxIBZI8E0ws8xYKFSiuzsChZi2yWbJau0OFPGQg1bkCG E7E+wJeLbPudadP83dyw7RKVgm59oh5MSUjLPMEWB1x9jLJ1I58zQZ4p3Hp9CkhtmE0t 8WhOe1wiE1Y5TkwYDNrPBk8JFm+yiMulXmXRgqV6Lgw9E7eCfL+2ZZd978zI4WnKsk7R 2DBMDrC/DvjOQqNw2MoJC94mSvloNMxRk1dI8MuRD7BwcUtry0Dpyh/S06CUUxZdFv5v z1oiiOPjJAhdwWR9ZJrYrzgkS9PzLNxGFt4ZAGdH7kOMXn40kU2P10p2cvyDSLXjTAth dW3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=7JZUNFHRJFFisv+vkWrjbj4BKuuPbSmcRSzmbTBSD/4=; b=S3rCt+a8VI9m0YF8kGF2q41i0Ql/v4yqzQLHjmd3MpZ0ztH3jtqxWUtfQze5BLtYBX m5KC/z5+N2Zwuyw2gcQhLzzgurdJv6NsiVde0TqK87WvkBjYVW1BtjF9RxIM4lSf5bQ6 74+ekhlZtAllpe1dig4mxsWDz5hoaJrfO45PrvyvrbMGsqI9Q2t31HsURiasX3FsK01n wV8ZiP1xV5gDaiP8buQ6Y+FsfDErBwhpA0VCs4H56Fq1SeM2Ayy1jp+89+cMS5EkiSWg 91jy4PM/O77xWEuHHcML+i9Bzg+yl8xLQL2xnHCu7ocAaEtxdRNnrL17O5HOsdg33ytx V7pA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b18-20020a056402279200b0043ab81e4240si3213524ede.501.2022.07.16.06.39.58; Sat, 16 Jul 2022 06:40:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231801AbiGPNcF (ORCPT + 99 others); Sat, 16 Jul 2022 09:32:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229784AbiGPNcE (ORCPT ); Sat, 16 Jul 2022 09:32:04 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F36921903F; Sat, 16 Jul 2022 06:31:58 -0700 (PDT) X-QQ-mid: bizesmtp76t1657978299tkxijqkf Received: from localhost.localdomain ( [182.148.15.157]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 16 Jul 2022 21:31:35 +0800 (CST) X-QQ-SSF: 01000000002000B0D000B00A0000000 X-QQ-FEAT: tnN4C/PdIDUH5M3+9HbKBvi8qoEujs23VsHfFNI7f625tUkxiBLMBU51wYxgi TbX7sXTD34GnB0y+o83Yirrl4qmDiC9sbTGVCk1kCxbhQtaEStznEqbrGyPJJV7keu59r6f +X7HfbD7gmXzyzkbCDYMaBH42UpA1RfWhssWBY+h/L4jQLqVUTgI9SZXgEM/4ZLnQvJX92R j56Cb76y37lWa+OgMlodpKi5SDOJOcB+RVnA2bQTBah1rvc2juWUKxclVy2JaL3g7O4lPYC GP6J3AMW0wLAN+csJ0U0NjB1/yqFxOqYsGKsPo7CTodvZSlQRGAnqNgwUyEIUseSUazR/qq jclbsIViDsIB7yZ9CVmt4n+SmG0f0vRsOGXnTD1juFvAMqVX70vnZSvyKURpg== X-QQ-GoodBg: 0 From: Jilin Yuan To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org, mathias.nyman@intel.com Cc: linux-usb@vger.kernel.org, inux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jilin Yuan Subject: [PATCH] usb/host: fix repeated words in comments Date: Sat, 16 Jul 2022 21:31:29 +0800 Message-Id: <20220716133129.40575-1-yuanjilin@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, SPF_PASS,T_SPF_HELO_TEMPERROR autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Delete the redundant word 'to'. Delete the redundant word 'the'. Delete the redundant word 'then'. Signed-off-by: Jilin Yuan --- drivers/usb/host/uhci-platform.c | 2 +- drivers/usb/host/uhci-q.c | 2 +- drivers/usb/host/xhci-ring.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index b2049b47a08d..c7ef58c05276 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c @@ -20,7 +20,7 @@ static int uhci_platform_init(struct usb_hcd *hcd) if (!uhci->rh_numports) uhci->rh_numports = uhci_count_ports(hcd); - /* Set up pointers to to generic functions */ + /* Set up pointers to generic functions */ uhci->reset_hc = uhci_generic_reset_hc; uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; diff --git a/drivers/usb/host/uhci-q.c b/drivers/usb/host/uhci-q.c index 35fcb826152c..e7f4c1f28349 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 currently * executing URB has already been unlinked, so this one isn't it. */ if (qh_element(qh) == UHCI_PTR_TERM(uhci)) goto done; 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.36.1