提交 9b856836 编写于 作者: J Johannes Berg 提交者: Luca Coelho

iwlwifi: mvm: remove pointless _bh from spinlock in timer

Inside the reorder timer expire function, there's no point in
disabling BHs since it is in BH context. Remove that.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
上级 723d11a4
...@@ -452,10 +452,10 @@ void iwl_mvm_reorder_timer_expired(unsigned long data) ...@@ -452,10 +452,10 @@ void iwl_mvm_reorder_timer_expired(unsigned long data)
u16 sn = 0, index = 0; u16 sn = 0, index = 0;
bool expired = false; bool expired = false;
spin_lock_bh(&buf->lock); spin_lock(&buf->lock);
if (!buf->num_stored || buf->removed) { if (!buf->num_stored || buf->removed) {
spin_unlock_bh(&buf->lock); spin_unlock(&buf->lock);
return; return;
} }
...@@ -492,7 +492,7 @@ void iwl_mvm_reorder_timer_expired(unsigned long data) ...@@ -492,7 +492,7 @@ void iwl_mvm_reorder_timer_expired(unsigned long data)
buf->reorder_time[index] + buf->reorder_time[index] +
1 + RX_REORDER_BUF_TIMEOUT_MQ); 1 + RX_REORDER_BUF_TIMEOUT_MQ);
} }
spin_unlock_bh(&buf->lock); spin_unlock(&buf->lock);
} }
static void iwl_mvm_del_ba(struct iwl_mvm *mvm, int queue, static void iwl_mvm_del_ba(struct iwl_mvm *mvm, int queue,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册