summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel
diff options
context:
space:
mode:
authorDaniel Gabay <daniel.gabay@intel.com>2024-10-08 07:25:22 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-10-23 17:43:50 +0300
commite5c6c41522201f0a58c61c6528f56afdfdb232e2 (patch)
tree71de18070b351d86d9c67c9aa2acdffa1b3c2425 /drivers/net/wireless/intel
parentf6db1fd49f9b9a8c27caec32e65d26eb40cf8b64 (diff)
downloadlinux-e5c6c41522201f0a58c61c6528f56afdfdb232e2.tar.xz
wifi: iwlwifi: mvm: Remove redundant rcu_read_lock() in reorder buffer
iwl_mvm_reorder() is already called within a rcu-read section. Signed-off-by: Daniel Gabay <daniel.gabay@intel.com> Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20241008072037.8f229e1b08b7.I31a371f635d84db300ad16ce6170cc07a8b154fb@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel')
-rw-r--r--drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
index fdbd63ff91ef..a2f16bfaec44 100644
--- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
+++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c
@@ -773,9 +773,7 @@ static bool iwl_mvm_reorder(struct iwl_mvm *mvm,
return false;
}
- rcu_read_lock();
sta_mask = iwl_mvm_sta_fw_id_mask(mvm, sta, -1);
- rcu_read_unlock();
if (IWL_FW_CHECK(mvm,
tid != baid_data->tid ||