Commit d4e4aa7c authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by Luca Coelho

iwlwifi: mvm: remove set but unused variable in iwl_mvm_roc_done_wk

Since the removal of non-DQA code, we don't need the queues
variable any more. Remove it.
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent a8707ddd
...@@ -101,7 +101,6 @@ void iwl_mvm_te_clear_data(struct iwl_mvm *mvm, ...@@ -101,7 +101,6 @@ void iwl_mvm_te_clear_data(struct iwl_mvm *mvm,
void iwl_mvm_roc_done_wk(struct work_struct *wk) void iwl_mvm_roc_done_wk(struct work_struct *wk)
{ {
struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk); struct iwl_mvm *mvm = container_of(wk, struct iwl_mvm, roc_done_wk);
u32 queues = 0;
/* /*
* Clear the ROC_RUNNING /ROC_AUX_RUNNING status bit. * Clear the ROC_RUNNING /ROC_AUX_RUNNING status bit.
...@@ -110,14 +109,10 @@ void iwl_mvm_roc_done_wk(struct work_struct *wk) ...@@ -110,14 +109,10 @@ void iwl_mvm_roc_done_wk(struct work_struct *wk)
* in the case that the time event actually completed in the firmware * in the case that the time event actually completed in the firmware
* (which is handled in iwl_mvm_te_handle_notif). * (which is handled in iwl_mvm_te_handle_notif).
*/ */
if (test_and_clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status)) { if (test_and_clear_bit(IWL_MVM_STATUS_ROC_RUNNING, &mvm->status))
queues |= BIT(IWL_MVM_OFFCHANNEL_QUEUE);
iwl_mvm_unref(mvm, IWL_MVM_REF_ROC); iwl_mvm_unref(mvm, IWL_MVM_REF_ROC);
} if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status))
if (test_and_clear_bit(IWL_MVM_STATUS_ROC_AUX_RUNNING, &mvm->status)) {
queues |= BIT(mvm->aux_queue);
iwl_mvm_unref(mvm, IWL_MVM_REF_ROC_AUX); iwl_mvm_unref(mvm, IWL_MVM_REF_ROC_AUX);
}
synchronize_net(); synchronize_net();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment