From: Jason Wang Date: Sun, 29 Dec 2024 14:44:50 +0000 (+0200) Subject: wifi: iwlwifi: mvm: Fix duplicated 'if' in comment X-Git-Tag: block-6.14-20240131~28^2~20^2~64 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e5705795641588daebe111720f3886c6493c36e4;p=linux-block.git wifi: iwlwifi: mvm: Fix duplicated 'if' in comment The double `if' is duplicated in the comment, remove one. Signed-off-by: Jason Wang Link: https://msgid.link/20220811115958.8423-1-wangborong@cdjrlc.com Signed-off-by: Miri Korenblit Reviewed-by: Emmanuel Grumbach Link: https://patch.msgid.link/20241229164246.9d8c224e9d4c.Iaacfbd1e9432f31d5d7d037ad925aadbb0d5c4d6@changeid Signed-off-by: Johannes Berg --- diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c index 735a66269f88..7a4844ec3c10 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/sta.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/sta.c @@ -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]) &&