1 Subject: mac80211: remove wiphy_to_hw
3 This isn't used by anyone, if we ever need it we can add
4 it back, until then it's useless.
6 Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
8 include/net/mac80211.h | 2 --
9 net/mac80211/cfg.c | 7 -------
10 2 files changed, 9 deletions(-)
12 --- everything.orig/include/net/mac80211.h 2008-10-07 20:05:49.000000000 +0200
13 +++ everything/include/net/mac80211.h 2008-10-07 20:06:42.000000000 +0200
14 @@ -867,8 +867,6 @@ struct ieee80211_hw {
18 -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy);
21 * SET_IEEE80211_DEV - set device for 802.11 hardware
23 --- everything.orig/net/mac80211/cfg.c 2008-10-07 20:06:37.000000000 +0200
24 +++ everything/net/mac80211/cfg.c 2008-10-07 20:06:42.000000000 +0200
29 -struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy)
31 - struct ieee80211_local *local = wiphy_priv(wiphy);
34 -EXPORT_SYMBOL(wiphy_to_hw);
36 static bool nl80211_type_check(enum nl80211_iftype type)