wifi: iwlegacy: fix repeated words in comments
authorJilin Yuan <yuanjilin@cdjrlc.com>
Sat, 9 Jul 2022 13:53:16 +0000 (21:53 +0800)
committerKalle Valo <kvalo@kernel.org>
Mon, 18 Jul 2022 12:08:48 +0000 (15:08 +0300)
Delete the redundant words 'to' and 'if'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220709135316.41425-1-yuanjilin@cdjrlc.com
drivers/net/wireless/intel/iwlegacy/4965-mac.c
drivers/net/wireless/intel/iwlegacy/common.c

index d93900e..943de47 100644 (file)
@@ -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);
index 9aa3359..04d27a2 100644 (file)
@@ -4817,7 +4817,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