aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
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/iwlwifi/mvm/mvm.h
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/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h5
1 files changed, 2 insertions, 3 deletions
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__ */