2022-09-08 13:30:20

by wangjianli

[permalink] [raw]
Subject: [PATCH] hw/qib: fix repeated words in comments

Delete the redundant word 'to'.

Signed-off-by: wangjianli <[email protected]>
---
drivers/infiniband/hw/qib/qib_pcie.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/hw/qib/qib_pcie.c b/drivers/infiniband/hw/qib/qib_pcie.c
index cb2a02d671e2..692b64efad97 100644
--- a/drivers/infiniband/hw/qib/qib_pcie.c
+++ b/drivers/infiniband/hw/qib/qib_pcie.c
@@ -295,7 +295,7 @@ void qib_free_irq(struct qib_devdata *dd)
* Setup pcie interrupt stuff again after a reset. I'd like to just call
* pci_enable_msi() again for msi, but when I do that,
* the MSI enable bit doesn't get set in the command word, and
- * we switch to to a different interrupt vector, which is confusing,
+ * we switch to a different interrupt vector, which is confusing,
* so I instead just do it all inline. Perhaps somehow can tie this
* into the PCIe hotplug support at some point
*/
--
2.36.1


2022-09-20 11:31:32

by Leon Romanovsky

[permalink] [raw]
Subject: Re: [PATCH] hw/qib: fix repeated words in comments

On Thu, 8 Sep 2022 21:20:36 +0800, wangjianli wrote:
> Delete the redundant word 'to'.
>
>

Applied, thanks!

[1/1] RDMA/qib: fix repeated words in comments
commit: 7eff36527195cf434dc8f9ddc7bedc0254d0d835

Best regards,
--
Leon Romanovsky <[email protected]>