[PATCH] wifi: rt2x00: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 9 months ago
drivers/net/wireless/ralink/rt2x00/rt2x00.h    | 2 +-
drivers/net/wireless/ralink/rt2x00/rt2x00mac.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] wifi: rt2x00: fix repeated words in comments
Posted by Jilin Yuan 3 years, 9 months ago
 Delete the redundant word 'is'.
 Delete the redundant word 'with'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/net/wireless/ralink/rt2x00/rt2x00.h    | 2 +-
 drivers/net/wireless/ralink/rt2x00/rt2x00mac.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00.h b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
index 9f6fc40649be..7927fb10b8a8 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00.h
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00.h
@@ -232,7 +232,7 @@ struct link_qual {
 	 * VGC levels
 	 * Hardware driver will tune the VGC level during each call
 	 * to the link_tuner() callback function. This vgc_level is
-	 * is determined based on the link quality statistics like
+	 * determined based on the link quality statistics like
 	 * average RSSI and the false CCA count.
 	 *
 	 * In some cases the drivers need to differentiate between
diff --git a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c
index dea5babd30fe..6b1ad4e268d6 100644
--- a/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c
+++ b/drivers/net/wireless/ralink/rt2x00/rt2x00mac.c
@@ -325,7 +325,7 @@ int rt2x00mac_config(struct ieee80211_hw *hw, u32 changed)
 	 */
 	rt2x00queue_stop_queue(rt2x00dev->rx);
 
-	/* Do not race with with link tuner. */
+	/* Do not race with link tuner. */
 	mutex_lock(&rt2x00dev->conf_mutex);
 
 	/*
-- 
2.36.1
Re: wifi: rt2x00: fix repeated words in comments
Posted by Kalle Valo 3 years, 9 months ago
Jilin Yuan <yuanjilin@cdjrlc.com> wrote:

> Delete the redundant words 'is' and 'with'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

Patch applied to wireless-next.git, thanks.

a319b7f0794c wifi: rt2x00: fix repeated words in comments

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20220710041442.16177-1-yuanjilin@cdjrlc.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches