linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: qlge: Remove duplicate word in comment
@ 2021-02-11 19:27 Tom Seewald
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Seewald @ 2021-02-11 19:27 UTC (permalink / raw)
  To: linux-kernel
  Cc: tseewald, netdev, Manish Chopra, GR-Linux-NIC-Dev, Greg Kroah-Hartman

Fix this typo by simply removing the duplicate 'and'.

Signed-off-by: Tom Seewald <tseewald@gmail.com>
---
 drivers/staging/qlge/qlge_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/qlge/qlge_main.c b/drivers/staging/qlge/qlge_main.c
index dfe8cdf38ce0..5516be3af898 100644
--- a/drivers/staging/qlge/qlge_main.c
+++ b/drivers/staging/qlge/qlge_main.c
@@ -3182,7 +3182,7 @@ static void qlge_enable_msix(struct qlge_adapter *qdev)
 		     "Running with legacy interrupts.\n");
 }
 
-/* Each vector services 1 RSS ring and and 1 or more
+/* Each vector services 1 RSS ring and 1 or more
  * TX completion rings.  This function loops through
  * the TX completion rings and assigns the vector that
  * will service it.  An example would be if there are
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] staging: qlge: remove duplicate word in comment
@ 2020-12-08 22:25 Nicholas Warfield
  0 siblings, 0 replies; 2+ messages in thread
From: Nicholas Warfield @ 2020-12-08 22:25 UTC (permalink / raw)
  To: Manish Chopra
  Cc: Greg Kroah-Hartman, GR-Linux-NIC-Dev, netdev, devel, linux-kernel, nick

This patch fixes the checkpatch warning:

WARNING: Possible repeated word: 'each'
1712: FILE: qlge.h:1712.h
+ * that are each each 64-bits in length. There are a total of

Signed-off-by: Nicholas Warfield <nick@nkwarfield.io>
---
 drivers/staging/qlge/qlge.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/qlge/qlge.h b/drivers/staging/qlge/qlge.h
index b295990e361b..0381f3f56bc7 100644
--- a/drivers/staging/qlge/qlge.h
+++ b/drivers/staging/qlge/qlge.h
@@ -1709,7 +1709,7 @@ enum {
 #define ETS_REGS_DUMP_WORD_COUNT		10
 
 /* Each probe mux entry stores the probe type plus 64 entries
- * that are each each 64-bits in length. There are a total of
+ * that are each 64-bits in length. There are a total of
  * 34 (PRB_MX_ADDR_VALID_TOTAL) valid probes.
  */
 #define PRB_MX_ADDR_PRB_WORD_COUNT		(1 + (PRB_MX_ADDR_MAX_MUX * 2))
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-11 19:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-11 19:27 [PATCH] staging: qlge: Remove duplicate word in comment Tom Seewald
  -- strict thread matches above, loose matches on Subject: below --
2020-12-08 22:25 [PATCH] staging: qlge: remove " Nicholas Warfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).