2022-07-10 05:05:47

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] wifi: rt2x00: fix repeated words in comments

Delete the redundant word 'is'.
Delete the redundant word 'with'.

Signed-off-by: Jilin Yuan <[email protected]>
---
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


2022-07-18 12:11:51

by Kalle Valo

[permalink] [raw]
Subject: Re: wifi: rt2x00: fix repeated words in comments

Jilin Yuan <[email protected]> wrote:

> Delete the redundant words 'is' and 'with'.
>
> Signed-off-by: Jilin Yuan <[email protected]>

Patch applied to wireless-next.git, thanks.

a319b7f0794c wifi: rt2x00: fix repeated words in comments

--
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

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