summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2013-01-29 22:37:48 +0100
committerJohannes Berg <johannes.berg@intel.com>2013-01-31 14:07:30 +0100
commit3ff9a827c683353b9826ef57366b0f313acc21b0 (patch)
treea4a76f74cfb68940c880cf23cd7083bef5e69d14 /net/wireless
parent0fe20add2c4b768ba8432ed15635caa46417ede7 (diff)
downloadlinux-3ff9a827c683353b9826ef57366b0f313acc21b0.tar.bz2
cfg80211: remove free_priv BSS API
Now that mac80211 no longer uses this API, remove it completely. If anyone needs it again, we can revert this patch of course, but mac80211 was the only user right now. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless')
-rw-r--r--net/wireless/scan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/wireless/scan.c b/net/wireless/scan.c
index 01592d7d4789..ca367c58a3e2 100644
--- a/net/wireless/scan.c
+++ b/net/wireless/scan.c
@@ -31,9 +31,6 @@ static void bss_release(struct kref *ref)
if (WARN_ON(atomic_read(&bss->hold)))
return;
- if (bss->pub.free_priv)
- bss->pub.free_priv(&bss->pub);
-
ies = (void *)rcu_access_pointer(bss->pub.beacon_ies);
if (ies)
kfree_rcu(ies, rcu_head);