diff mbox series

wifi: rt2x00: fix repeated words in comments

Message ID 20220710041442.16177-1-yuanjilin@cdjrlc.com (mailing list archive)
State Accepted
Commit a319b7f0794c34a080aded25d219d8d2410c117e
Delegated to: Kalle Valo
Headers show
Series wifi: rt2x00: fix repeated words in comments | expand

Commit Message

Jilin Yuan July 10, 2022, 4:14 a.m. UTC
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(-)

Comments

Kalle Valo July 18, 2022, 12:10 p.m. UTC | #1
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
diff mbox series

Patch

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);
 
 	/*