aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2015-03-31 02:58:16 -0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-04-02 02:26:48 -0400
commit21023b1e7f9862015fd8c91d5619217da8d9a06a (patch)
tree2a08380dbada585bb87bc95366bcc6f07bf86946 /drivers/net/wireless
parent6ed13164450a916116cf7f0f38fe0da4679a45c9 (diff)
iwlwifi: mvm: remove unused arguments
The str/len arguments to iwl_fw_dbg_trigger_simple_stop() aren't used, and for a simple trigger don't really need to be used as the trigger code itself encodes the reason, so remove them. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mac80211.c3
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h5
2 files changed, 3 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
index 0bd3373315ec..810b6d317b24 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c
+++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c
@@ -3711,8 +3711,7 @@ static int iwl_mvm_pre_channel_switch(struct ieee80211_hw *hw,
3711 IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n", 3711 IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n",
3712 chsw->chandef.center_freq1); 3712 chsw->chandef.center_freq1);
3713 3713
3714 iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH, 3714 iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH);
3715 NULL, 0);
3716 3715
3717 switch (vif->type) { 3716 switch (vif->type) {
3718 case NL80211_IFTYPE_AP: 3717 case NL80211_IFTYPE_AP:
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index a3f2078e8dcd..500064f5d8f1 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -1516,8 +1516,7 @@ iwl_fw_dbg_trigger_check_stop(struct iwl_mvm *mvm,
1516static inline void 1516static inline void
1517iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm, 1517iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
1518 struct ieee80211_vif *vif, 1518 struct ieee80211_vif *vif,
1519 enum iwl_fw_dbg_trigger trig, 1519 enum iwl_fw_dbg_trigger trig)
1520 const char *str, size_t len)
1521{ 1520{
1522 struct iwl_fw_dbg_trigger_tlv *trigger; 1521 struct iwl_fw_dbg_trigger_tlv *trigger;
1523 1522
@@ -1528,7 +1527,7 @@ iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
1528 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger)) 1527 if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger))
1529 return; 1528 return;
1530 1529
1531 iwl_mvm_fw_dbg_collect_trig(mvm, trigger, str, len); 1530 iwl_mvm_fw_dbg_collect_trig(mvm, trigger, NULL, 0);
1532} 1531}
1533 1532
1534#endif /* __IWL_MVM_H__ */ 1533#endif /* __IWL_MVM_H__ */