2022-07-09 12:45:07

by Jilin Yuan

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

Delete the redundant word 'the'.
Delete the redundant word 'to'.

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


2022-08-16 17:00:53

by Toke Høiland-Jørgensen

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

>Toke Høiland-Jørgensen <[email protected]> writes:

> Jilin Yuan <[email protected]> writes:
>
>> Delete the redundant word 'the'.
>> Delete the redundant word 'to'.
>>
>> Signed-off-by: Jilin Yuan <[email protected]>
>
> Acked-by: Toke Høiland-Jørgensen <[email protected]>

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

-Toke

2022-08-16 17:01:51

by Toke Høiland-Jørgensen

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

Jilin Yuan <[email protected]> writes:

> Delete the redundant word 'the'.
> Delete the redundant word 'to'.
>
> Signed-off-by: Jilin Yuan <[email protected]>

Acked-by: Toke Høiland-Jørgensen <[email protected]>