aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-rs.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-rs.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
index f685e5d6c281..6fdb2fb755b0 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-rs.c
@@ -2393,19 +2393,6 @@ static void rs_free(void *priv_rate)
2393 return; 2393 return;
2394} 2394}
2395 2395
2396static void rs_clear(void *priv_rate)
2397{
2398#ifdef CONFIG_IWLWIFI_DEBUG
2399 struct iwl_priv *priv = (struct iwl_priv *) priv_rate;
2400
2401 IWL_DEBUG_RATE("enter\n");
2402
2403 /* TODO - add rate scale state reset */
2404
2405 IWL_DEBUG_RATE("leave\n");
2406#endif /* CONFIG_IWLWIFI_DEBUG */
2407}
2408
2409static void rs_free_sta(void *priv_r, struct ieee80211_sta *sta, 2396static void rs_free_sta(void *priv_r, struct ieee80211_sta *sta,
2410 void *priv_sta) 2397 void *priv_sta)
2411{ 2398{
@@ -2593,7 +2580,6 @@ static struct rate_control_ops rs_ops = {
2593 .tx_status = rs_tx_status, 2580 .tx_status = rs_tx_status,
2594 .get_rate = rs_get_rate, 2581 .get_rate = rs_get_rate,
2595 .rate_init = rs_rate_init, 2582 .rate_init = rs_rate_init,
2596 .clear = rs_clear,
2597 .alloc = rs_alloc, 2583 .alloc = rs_alloc,
2598 .free = rs_free, 2584 .free = rs_free,
2599 .alloc_sta = rs_alloc_sta, 2585 .alloc_sta = rs_alloc_sta,