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 /net/mac80211/rate.h | |
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 'net/mac80211/rate.h')
-rw-r--r-- | net/mac80211/rate.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h index 7c25edf9ac55..928da625e281 100644 --- a/net/mac80211/rate.h +++ b/net/mac80211/rate.h | |||
@@ -63,12 +63,6 @@ static inline void rate_control_rate_init(struct sta_info *sta) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | 65 | ||
66 | static inline void rate_control_clear(struct ieee80211_local *local) | ||
67 | { | ||
68 | struct rate_control_ref *ref = local->rate_ctrl; | ||
69 | ref->ops->clear(ref->priv); | ||
70 | } | ||
71 | |||
72 | static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, | 66 | static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, |
73 | struct ieee80211_sta *sta, | 67 | struct ieee80211_sta *sta, |
74 | gfp_t gfp) | 68 | gfp_t gfp) |