summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg2008-10-16 11:21:49 +0200
committerJohn W. Linville2008-11-01 00:00:37 +0100
commit50fb2e4572141770380f5919793c6e575fa3474b (patch)
tree6227726fda3e7b54515b6738bcf62b5f395ded23 /include/net/mac80211.h
parentiwlwifi: protect headers from double inclusion (diff)
downloadkernel-qcow2-linux-50fb2e4572141770380f5919793c6e575fa3474b.tar.gz
kernel-qcow2-linux-50fb2e4572141770380f5919793c6e575fa3474b.tar.xz
kernel-qcow2-linux-50fb2e4572141770380f5919793c6e575fa3474b.zip
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 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 3741c0a7978a..e0b1ff9a3148 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1917,7 +1917,6 @@ struct rate_control_ops {
struct module *module;
const char *name;
void *(*alloc)(struct ieee80211_hw *hw, struct dentry *debugfsdir);
- void (*clear)(void *priv);
void (*free)(void *priv);
void *(*alloc_sta)(void *priv, struct ieee80211_sta *sta, gfp_t gfp);