]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: mvm: Fix duplicated 'if' in comment
authorJason Wang <wangborong@cdjrlc.com>
Sun, 29 Dec 2024 14:44:50 +0000 (16:44 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:26:43 +0000 (15:26 +0100)
The double `if' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Link: https://msgid.link/20220811115958.8423-1-wangborong@cdjrlc.com
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://patch.msgid.link/20241229164246.9d8c224e9d4c.Iaacfbd1e9432f31d5d7d037ad925aadbb0d5c4d6@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/sta.c

index 735a66269f88655e804f3d0ba973ab7d071d6844..7a4844ec3c104c1371c8d01b3b6a4e73c02a1054 100644 (file)
@@ -2906,7 +2906,7 @@ int iwl_mvm_sta_rx_agg(struct iwl_mvm *mvm, struct ieee80211_sta *sta,
                /*
                 * The division below will be OK if either the cache line size
                 * can be divided by the entry size (ALIGN will round up) or if
-                * if the entry size can be divided by the cache line size, in
+                * the entry size can be divided by the cache line size, in
                 * which case the ALIGN() will do nothing.
                 */
                BUILD_BUG_ON(SMP_CACHE_BYTES % sizeof(baid_data->entries[0]) &&