aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2013-07-29 10:08:48 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-08-16 06:10:36 -0400
commit3571ac3370ef4e81ed5d60d810682c7b7bd95264 (patch)
tree2dfde345850c04188174c0be2633c5fbffbe7577 /drivers/net/wireless/iwlwifi/mvm
parentd972ab31b90cf1c61f6f77a1968244280930c000 (diff)
iwlwifi: mvm: remove unused param of rs_dbgfs_set_mcs
clean it up Signed-off-by: Eyal Shapira <eyal@wizery.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/rs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/rs.c b/drivers/net/wireless/iwlwifi/mvm/rs.c
index 5cb3132b8b37..9ae1bad8a359 100644
--- a/drivers/net/wireless/iwlwifi/mvm/rs.c
+++ b/drivers/net/wireless/iwlwifi/mvm/rs.c
@@ -161,10 +161,10 @@ static void rs_stay_in_table(struct iwl_lq_sta *lq_sta, bool force_search);
161 161
162#ifdef CONFIG_MAC80211_DEBUGFS 162#ifdef CONFIG_MAC80211_DEBUGFS
163static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta, 163static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta,
164 u32 *rate_n_flags, int index); 164 u32 *rate_n_flags);
165#else 165#else
166static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta, 166static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta,
167 u32 *rate_n_flags, int index) 167 u32 *rate_n_flags)
168{} 168{}
169#endif 169#endif
170 170
@@ -2370,7 +2370,7 @@ static void rs_fill_link_cmd(struct iwl_mvm *mvm,
2370 struct iwl_lq_cmd *lq_cmd = &lq_sta->lq; 2370 struct iwl_lq_cmd *lq_cmd = &lq_sta->lq;
2371 2371
2372 /* Override starting rate (index 0) if needed for debug purposes */ 2372 /* Override starting rate (index 0) if needed for debug purposes */
2373 rs_dbgfs_set_mcs(lq_sta, &new_rate, index); 2373 rs_dbgfs_set_mcs(lq_sta, &new_rate);
2374 2374
2375 /* Interpret new_rate (rate_n_flags) */ 2375 /* Interpret new_rate (rate_n_flags) */
2376 rs_get_tbl_info_from_mcs(new_rate, lq_sta->band, 2376 rs_get_tbl_info_from_mcs(new_rate, lq_sta->band,
@@ -2417,7 +2417,7 @@ static void rs_fill_link_cmd(struct iwl_mvm *mvm,
2417 } 2417 }
2418 2418
2419 /* Override next rate if needed for debug purposes */ 2419 /* Override next rate if needed for debug purposes */
2420 rs_dbgfs_set_mcs(lq_sta, &new_rate, index); 2420 rs_dbgfs_set_mcs(lq_sta, &new_rate);
2421 2421
2422 /* Fill next table entry */ 2422 /* Fill next table entry */
2423 lq_cmd->rs_table[index] = 2423 lq_cmd->rs_table[index] =
@@ -2459,7 +2459,7 @@ static void rs_fill_link_cmd(struct iwl_mvm *mvm,
2459 use_ht_possible = 0; 2459 use_ht_possible = 0;
2460 2460
2461 /* Override next rate if needed for debug purposes */ 2461 /* Override next rate if needed for debug purposes */
2462 rs_dbgfs_set_mcs(lq_sta, &new_rate, index); 2462 rs_dbgfs_set_mcs(lq_sta, &new_rate);
2463 2463
2464 /* Fill next table entry */ 2464 /* Fill next table entry */
2465 lq_cmd->rs_table[index] = cpu_to_le32(new_rate); 2465 lq_cmd->rs_table[index] = cpu_to_le32(new_rate);
@@ -2504,7 +2504,7 @@ static void rs_free_sta(void *mvm_r, struct ieee80211_sta *sta,
2504 2504
2505#ifdef CONFIG_MAC80211_DEBUGFS 2505#ifdef CONFIG_MAC80211_DEBUGFS
2506static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta, 2506static void rs_dbgfs_set_mcs(struct iwl_lq_sta *lq_sta,
2507 u32 *rate_n_flags, int index) 2507 u32 *rate_n_flags)
2508{ 2508{
2509 struct iwl_mvm *mvm; 2509 struct iwl_mvm *mvm;
2510 u8 valid_tx_ant; 2510 u8 valid_tx_ant;