Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352538
b: refs/heads/master
c: 3ff9a82
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg committed Jan 31, 2013
1 parent 8d4f152 commit 0757e8b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fe20add2c4b768ba8432ed15635caa46417ede7
refs/heads/master: 3ff9a827c683353b9826ef57366b0f313acc21b0
3 changes: 0 additions & 3 deletions trunk/include/net/cfg80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,6 @@ struct cfg80211_bss_ies {
* @beacon_ies: the information elements from the last Beacon frame
* @proberesp_ies: the information elements from the last Probe Response frame
* @signal: signal strength value (type depends on the wiphy's signal_type)
* @free_priv: function pointer to free private data
* @priv: private area for driver use, has at least wiphy->bss_priv_size bytes
*/
struct cfg80211_bss {
Expand All @@ -1301,8 +1300,6 @@ struct cfg80211_bss {
const struct cfg80211_bss_ies __rcu *beacon_ies;
const struct cfg80211_bss_ies __rcu *proberesp_ies;

void (*free_priv)(struct cfg80211_bss *bss);

s32 signal;

u16 beacon_interval;
Expand Down
3 changes: 0 additions & 3 deletions trunk/net/wireless/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0757e8b

Please sign in to comment.