summaryrefslogtreecommitdiff
path: root/net/mac80211/scan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-29 22:37:04 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-31 14:07:14 +0100
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 @@
#define IEEE80211_CHANNEL_TIME (HZ / 33)
#define IEEE80211_PASSIVE_CHANNEL_TIME (HZ / 8)
-static void ieee80211_rx_bss_free(struct cfg80211_bss *cbss)
-{
- struct ieee80211_bss *bss = (void *)cbss->priv;
-
- kfree(bss_mesh_id(bss));
- kfree(bss_mesh_cfg(bss));
-}
-
void ieee80211_rx_bss_put(struct ieee80211_local *local,
struct ieee80211_bss *bss)
{
@@ -85,7 +77,6 @@ ieee80211_bss_info_update(struct ieee80211_local *local,
if (!cbss)
return NULL;
- cbss->free_priv = ieee80211_rx_bss_free;
bss = (void *)cbss->priv;
bss->device_ts = rx_status->device_timestamp;