diff options
author | Arik Nemtsov <arik@wizery.com> | 2014-09-21 12:00:42 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-10-29 06:52:26 -0400 |
commit | d92b732e35432d473d18b068597a6220a10e9a96 (patch) | |
tree | 182a6c5474c699d253744985c1ebd1ff6f04414d /drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | |
parent | 3b8983b17c78f08e40e1ddc8051bdf839097ba27 (diff) |
iwlwifi: mvm: remove mvm argument from get_queues_mask
It is unused and won't be available in some future invocations of the
function.
Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c index 0c5c0b0e23f5..b8ab4a108720 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac-ctxt.c | |||
@@ -197,8 +197,7 @@ static void iwl_mvm_mac_tsf_id_iter(void *_data, u8 *mac, | |||
197 | /* | 197 | /* |
198 | * Get the mask of the queues used by the vif | 198 | * Get the mask of the queues used by the vif |
199 | */ | 199 | */ |
200 | u32 iwl_mvm_mac_get_queues_mask(struct iwl_mvm *mvm, | 200 | u32 iwl_mvm_mac_get_queues_mask(struct ieee80211_vif *vif) |
201 | struct ieee80211_vif *vif) | ||
202 | { | 201 | { |
203 | u32 qmask = 0, ac; | 202 | u32 qmask = 0, ac; |
204 | 203 | ||
@@ -227,7 +226,7 @@ static void iwl_mvm_mac_iface_iterator(void *_data, u8 *mac, | |||
227 | } | 226 | } |
228 | 227 | ||
229 | /* Mark the queues used by the vif */ | 228 | /* Mark the queues used by the vif */ |
230 | data->used_hw_queues |= iwl_mvm_mac_get_queues_mask(data->mvm, vif); | 229 | data->used_hw_queues |= iwl_mvm_mac_get_queues_mask(vif); |
231 | 230 | ||
232 | /* Mark MAC IDs as used by clearing the available bit, and | 231 | /* Mark MAC IDs as used by clearing the available bit, and |
233 | * (below) mark TSFs as used if their existing use is not | 232 | * (below) mark TSFs as used if their existing use is not |