]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: mvm: remove update type argument from quota update
authorJohannes Berg <johannes.berg@intel.com>
Fri, 6 Jun 2014 13:18:45 +0000 (15:18 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 7 Jul 2014 18:41:16 +0000 (21:41 +0300)
commit42d16697d0e7881a15e46c724b33fc175dc0843b
tree8dd934ae08ef1e387a63465baf024be27ee081a0
parent259011e6493a55d230df4814565004d0ce4d47fe
iwlwifi: mvm: remove update type argument from quota update

It turns out that adding the update type argument was pointless as
quota update is never called from the add_interface() callback.
Therefore, IWL_MVM_QUOTA_UPDATE_TYPE_NEW isn't actually needed and
then only a "disabled_vif" argument is needed for the upcoming CSA
work.

Remove the whole enum iwl_mvm_quota_update_type and pass the right
arguments (always NULL for disabled vif right now) to the function
in all current call sites.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/mac80211.c
drivers/net/wireless/iwlwifi/mvm/mvm.h
drivers/net/wireless/iwlwifi/mvm/quota.c
drivers/net/wireless/iwlwifi/mvm/utils.c