diff mbox series

wireless/ath: fix repeated words in comments

Message ID 20220708154929.19199-1-yuanjilin@cdjrlc.com (mailing list archive)
State Accepted
Commit eaedf62f7aaa4e2efd69c0fbd32ee774456ce361
Delegated to: Kalle Valo
Headers show
Series wireless/ath: fix repeated words in comments | expand

Commit Message

Jilin Yuan July 8, 2022, 3:49 p.m. UTC
Delete the redundant word 'don't'.
 Delete the redundant word 'but'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/net/wireless/ath/ath5k/base.c         | 2 +-
 drivers/net/wireless/ath/ath5k/mac80211-ops.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Kalle Valo July 8, 2022, 4:33 p.m. UTC | #1
Jilin Yuan <yuanjilin@cdjrlc.com> writes:

>  Delete the redundant word 'don't'.
>  Delete the redundant word 'but'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  drivers/net/wireless/ath/ath5k/base.c         | 2 +-
>  drivers/net/wireless/ath/ath5k/mac80211-ops.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

The title prefix should be "wifi: ath5k:", but I can fix that during
commit.
Kalle Valo July 18, 2022, 10:03 a.m. UTC | #2
Jilin Yuan <yuanjilin@cdjrlc.com> wrote:

> Delete the redundant word 'don't' and 'but'.
> 
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>

Patch applied to ath-next branch of ath.git, thanks.

eaedf62f7aaa wifi: ath5k: fix repeated words in comments
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c
index 66d123f48085..947c94efeb21 100644
--- a/drivers/net/wireless/ath/ath5k/base.c
+++ b/drivers/net/wireless/ath/ath5k/base.c
@@ -1982,7 +1982,7 @@  ath5k_beacon_send(struct ath5k_hw *ah)
 
 	/*
 	 * Check if the previous beacon has gone out.  If
-	 * not, don't don't try to post another: skip this
+	 * not, don't try to post another: skip this
 	 * period and wait for the next.  Missed beacons
 	 * indicate a problem and should not occur.  If we
 	 * miss too many consecutive beacons reset the device.
diff --git a/drivers/net/wireless/ath/ath5k/mac80211-ops.c b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
index 532eeac9e83e..f6e108a67fbd 100644
--- a/drivers/net/wireless/ath/ath5k/mac80211-ops.c
+++ b/drivers/net/wireless/ath/ath5k/mac80211-ops.c
@@ -410,7 +410,7 @@  ath5k_configure_filter(struct ieee80211_hw *hw, unsigned int changed_flags,
 	/* FIF_CONTROL doc says we should only pass on control frames for this
 	 * station. This needs testing. I believe right now this
 	 * enables *all* control frames, which is OK.. but
-	 * but we should see if we can improve on granularity */
+	 * we should see if we can improve on granularity */
 	if (*new_flags & FIF_CONTROL)
 		rfilt |= AR5K_RX_FILTER_CONTROL;