diff mbox series

wifi: iwlegacy: fix repeated words in comments

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

Commit Message

Jilin Yuan July 9, 2022, 1:53 p.m. UTC
Delete the redundant word 'to'.
 Delete the redundant word 'if'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 drivers/net/wireless/intel/iwlegacy/4965-mac.c | 2 +-
 drivers/net/wireless/intel/iwlegacy/common.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Kalle Valo July 18, 2022, 12:08 p.m. UTC | #1
Jilin Yuan <yuanjilin@cdjrlc.com> wrote:

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

Patch applied to wireless-next.git, thanks.

f29c21516268 wifi: iwlegacy: fix repeated words in comments
diff mbox series

Patch

diff --git a/drivers/net/wireless/intel/iwlegacy/4965-mac.c b/drivers/net/wireless/intel/iwlegacy/4965-mac.c
index d93900e62e3d..943de47170c7 100644
--- a/drivers/net/wireless/intel/iwlegacy/4965-mac.c
+++ b/drivers/net/wireless/intel/iwlegacy/4965-mac.c
@@ -6690,7 +6690,7 @@  il4965_pci_remove(struct pci_dev *pdev)
 	sysfs_remove_group(&pdev->dev.kobj, &il_attribute_group);
 
 	/* ieee80211_unregister_hw call wil cause il_mac_stop to
-	 * to be called and il4965_down since we are removing the device
+	 * be called and il4965_down since we are removing the device
 	 * we need to set S_EXIT_PENDING bit.
 	 */
 	set_bit(S_EXIT_PENDING, &il->status);
diff --git a/drivers/net/wireless/intel/iwlegacy/common.c b/drivers/net/wireless/intel/iwlegacy/common.c
index 8299d89e7505..e40c4c41de10 100644
--- a/drivers/net/wireless/intel/iwlegacy/common.c
+++ b/drivers/net/wireless/intel/iwlegacy/common.c
@@ -4816,7 +4816,7 @@  il_check_stuck_queue(struct il_priv *il, int cnt)
 #define IL_WD_TICK(timeout) ((timeout) / 4)
 
 /*
- * Watchdog timer callback, we check each tx queue for stuck, if if hung
+ * Watchdog timer callback, we check each tx queue for stuck, if hung
  * we reset the firmware. If everything is fine just rearm the timer.
  */
 void