From 867f28a30c2aed11f700961f9f9fea597429c197 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Tue, 7 Oct 2008 12:04:33 +0200 Subject: [PATCH] --- yaml --- r: 121560 b: refs/heads/master c: 3db594380b8452eda4d88b12844077809607caaa h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/mac80211.h | 2 -- trunk/net/mac80211/cfg.c | 7 ------- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 3c2b2685a550..afb29cce1e64 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c6a1fa12d206882757264869f8e32d606b930e2a +refs/heads/master: 3db594380b8452eda4d88b12844077809607caaa diff --git a/trunk/include/net/mac80211.h b/trunk/include/net/mac80211.h index 8856e2d60e9f..e41b9a8d186f 100644 --- a/trunk/include/net/mac80211.h +++ b/trunk/include/net/mac80211.h @@ -868,8 +868,6 @@ struct ieee80211_hw { u8 max_altrate_tries; }; -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy); - /** * SET_IEEE80211_DEV - set device for 802.11 hardware * diff --git a/trunk/net/mac80211/cfg.c b/trunk/net/mac80211/cfg.c index 855126a3039d..8dc5e46cea68 100644 --- a/trunk/net/mac80211/cfg.c +++ b/trunk/net/mac80211/cfg.c @@ -17,13 +17,6 @@ #include "rate.h" #include "mesh.h" -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy) -{ - struct ieee80211_local *local = wiphy_priv(wiphy); - return &local->hw; -} -EXPORT_SYMBOL(wiphy_to_hw); - static bool nl80211_type_check(enum nl80211_iftype type) { switch (type) {