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>
This commit is contained in:
Johannes Berg 2015-03-31 08:58:16 +02:00 committed by Emmanuel Grumbach
parent 6ed1316445
commit 21023b1e7f
2 changed files with 3 additions and 5 deletions

View File

@ -3711,8 +3711,7 @@ static int iwl_mvm_pre_channel_switch(struct ieee80211_hw *hw,
IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n", IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n",
chsw->chandef.center_freq1); chsw->chandef.center_freq1);
iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH, iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH);
NULL, 0);
switch (vif->type) { switch (vif->type) {
case NL80211_IFTYPE_AP: case NL80211_IFTYPE_AP:

View File

@ -1516,8 +1516,7 @@ iwl_fw_dbg_trigger_check_stop(struct iwl_mvm *mvm,
static inline void static inline void
iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm, iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
struct ieee80211_vif *vif, struct ieee80211_vif *vif,
enum iwl_fw_dbg_trigger trig, enum iwl_fw_dbg_trigger trig)
const char *str, size_t len)
{ {
struct iwl_fw_dbg_trigger_tlv *trigger; struct iwl_fw_dbg_trigger_tlv *trigger;
@ -1528,7 +1527,7 @@ iwl_fw_dbg_trigger_simple_stop(struct iwl_mvm *mvm,
if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger)) if (!iwl_fw_dbg_trigger_check_stop(mvm, vif, trigger))
return; return;
iwl_mvm_fw_dbg_collect_trig(mvm, trigger, str, len); iwl_mvm_fw_dbg_collect_trig(mvm, trigger, NULL, 0);
} }
#endif /* __IWL_MVM_H__ */ #endif /* __IWL_MVM_H__ */