aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-29 16:37:04 -0500
committerJohannes Berg <johannes.berg@intel.com>2013-01-31 08:07:14 -0500
commit0fe20add2c4b768ba8432ed15635caa46417ede7 (patch)
treea9e75ce63fbace4935ba01b480ac31fed6d29342 /net/mac80211/scan.c
parentce9877c0cd68f52e1818f0e175fc7b2f85b0e655 (diff)
mac80211: remove unused mesh data from bss
These pointers/values are never used, remove them. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/scan.c')
-rw-r--r--net/mac80211/scan.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
index f69a1b9cb131..061595ae513b 100644
--- a/net/mac80211/scan.c
+++ b/net/mac80211/scan.c
@@ -29,14 +29,6 @@
29#define IEEE80211_CHANNEL_TIME (HZ / 33) 29#define IEEE80211_CHANNEL_TIME (HZ / 33)
30#define IEEE80211_PASSIVE_CHANNEL_TIME (HZ / 8) 30#define IEEE80211_PASSIVE_CHANNEL_TIME (HZ / 8)
31 31
32static void ieee80211_rx_bss_free(struct cfg80211_bss *cbss)
33{
34 struct ieee80211_bss *bss = (void *)cbss->priv;
35
36 kfree(bss_mesh_id(bss));
37 kfree(bss_mesh_cfg(bss));
38}
39
40void ieee80211_rx_bss_put(struct ieee80211_local *local, 32void ieee80211_rx_bss_put(struct ieee80211_local *local,
41 struct ieee80211_bss *bss) 33 struct ieee80211_bss *bss)
42{ 34{
@@ -85,7 +77,6 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
85 if (!cbss) 77 if (!cbss)
86 return NULL; 78 return NULL;
87 79
88 cbss->free_priv = ieee80211_rx_bss_free;
89 bss = (void *)cbss->priv; 80 bss = (void *)cbss->priv;
90 81
91 bss->device_ts = rx_status->device_timestamp; 82 bss->device_ts = rx_status->device_timestamp;