diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2008-10-16 05:21:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-10-31 19:00:37 -0400 |
commit | 50fb2e4572141770380f5919793c6e575fa3474b (patch) | |
tree | 6227726fda3e7b54515b6738bcf62b5f395ded23 /drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |
parent | 65a0667b43ff746b2964b2a257ffff1a4747e19d (diff) |
mac80211: remove rate_control_clear
"Clearing" the rate control algorithm is pointless, none of
the algorithms actually uses this operation and it's not even
invoked properly for all channel switching. Also, there's no
need to since rate control algorithms work per station.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945-rs.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945-rs.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c index f440ed0fe543..bfeef701b1fd 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945-rs.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945-rs.c | |||
@@ -355,12 +355,6 @@ static void rs_free(void *priv) | |||
355 | return; | 355 | return; |
356 | } | 356 | } |
357 | 357 | ||
358 | static void rs_clear(void *priv) | ||
359 | { | ||
360 | return; | ||
361 | } | ||
362 | |||
363 | |||
364 | static void *rs_alloc_sta(void *priv, struct ieee80211_sta *sta, gfp_t gfp) | 358 | static void *rs_alloc_sta(void *priv, struct ieee80211_sta *sta, gfp_t gfp) |
365 | { | 359 | { |
366 | struct iwl3945_rs_sta *rs_sta; | 360 | struct iwl3945_rs_sta *rs_sta; |
@@ -784,7 +778,6 @@ static struct rate_control_ops rs_ops = { | |||
784 | .tx_status = rs_tx_status, | 778 | .tx_status = rs_tx_status, |
785 | .get_rate = rs_get_rate, | 779 | .get_rate = rs_get_rate, |
786 | .rate_init = rs_rate_init, | 780 | .rate_init = rs_rate_init, |
787 | .clear = rs_clear, | ||
788 | .alloc = rs_alloc, | 781 | .alloc = rs_alloc, |
789 | .free = rs_free, | 782 | .free = rs_free, |
790 | .alloc_sta = rs_alloc_sta, | 783 | .alloc_sta = rs_alloc_sta, |