mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
iwlwifi: mvm: remove redundant condition
In iwl_mvm_sta_alloc_queue_tvqm(), we know that we have a station, so no need to check it. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
679bff239f
commit
f992c61d59
@ -791,11 +791,9 @@ static int iwl_mvm_sta_alloc_queue_tvqm(struct iwl_mvm *mvm,
|
||||
if (queue < 0)
|
||||
return queue;
|
||||
|
||||
if (sta) {
|
||||
mvmtxq->txq_id = queue;
|
||||
mvm->tvqm_info[queue].txq_tid = tid;
|
||||
mvm->tvqm_info[queue].sta_id = mvmsta->sta_id;
|
||||
}
|
||||
|
||||
IWL_DEBUG_TX_QUEUES(mvm, "Allocated queue is %d\n", queue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user