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

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

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/net/wireless/ath/ath9k/ar9002_phy.c | 2 +-
 drivers/net/wireless/ath/ath9k/ar9003_phy.c | 2 +-
 drivers/net/wireless/ath/ath9k/hw.h         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
index fcfed8e59d29..ebdb97999335 100644
--- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c
@@ -498,7 +498,7 @@ static void ar9002_hw_spectral_scan_config(struct ath_hw *ah,
 	else
 		REG_CLR_BIT(ah, AR_PHY_SPECTRAL_SCAN, repeat_bit);
 
-	/* on AR92xx, the highest bit of count will make the the chip send
+	/* on AR92xx, the highest bit of count will make the chip send
 	 * spectral samples endlessly. Check if this really was intended,
 	 * and fix otherwise.
 	 */
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index dc0e5ea25673..090ff0600c81 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@ -1744,7 +1744,7 @@ static void ar9003_hw_spectral_scan_config(struct ath_hw *ah,
 	REG_SET_BIT(ah, AR_PHY_RADAR_0, AR_PHY_RADAR_0_FFT_ENA);
 	REG_SET_BIT(ah, AR_PHY_SPECTRAL_SCAN, AR_PHY_SPECTRAL_SCAN_ENABLE);
 
-	/* on AR93xx and newer, count = 0 will make the the chip send
+	/* on AR93xx and newer, count = 0 will make the chip send
 	 * spectral samples endlessly. Check if this really was intended,
 	 * and fix otherwise.
 	 */
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 096a206f49ed..450ab19b1d4e 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -710,7 +710,7 @@ struct ath_spec_scan {
 /**
  * struct ath_hw_ops - callbacks used by hardware code and driver code
  *
- * This structure contains callbacks designed to to be used internally by
+ * This structure contains callbacks designed to be used internally by
  * hardware code and also by the lower level driver.
  *
  * @config_pci_powersave:
-- 
2.36.1
Re: [PATCH] wifi: ath9k: fix repeated words in comments
Posted by Toke Høiland-Jørgensen 3 years, 8 months ago
Jilin Yuan <yuanjilin@cdjrlc.com> writes:

>  Delete the redundant word 'the'.
>  Delete the redundant word 'to'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>

Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Re: [PATCH] wifi: ath9k: fix repeated words in comments
Posted by Toke Høiland-Jørgensen 3 years, 8 months ago
>Toke Høiland-Jørgensen <toke@toke.dk> writes:

> Jilin Yuan <yuanjilin@cdjrlc.com> writes:
>
>>  Delete the redundant word 'the'.
>>  Delete the redundant word 'to'.
>>
>> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
>
> Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>

However, the patch does not apply cleanly to the ath-next tree. Please
fix that and resubmit, retaining my ACK...

-Toke