aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/net/mac80211.h2
-rw-r--r--net/mac80211/cfg.c7
2 files changed, 0 insertions, 9 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 8856e2d60e9f..e41b9a8d186f 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -868,8 +868,6 @@ struct ieee80211_hw {
868 u8 max_altrate_tries; 868 u8 max_altrate_tries;
869}; 869};
870 870
871struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy);
872
873/** 871/**
874 * SET_IEEE80211_DEV - set device for 802.11 hardware 872 * SET_IEEE80211_DEV - set device for 802.11 hardware
875 * 873 *
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index 855126a3039d..8dc5e46cea68 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -17,13 +17,6 @@
17#include "rate.h" 17#include "rate.h"
18#include "mesh.h" 18#include "mesh.h"
19 19
20struct ieee80211_hw *wiphy_to_hw(struct wiphy *wiphy)
21{
22 struct ieee80211_local *local = wiphy_priv(wiphy);
23 return &local->hw;
24}
25EXPORT_SYMBOL(wiphy_to_hw);
26
27static bool nl80211_type_check(enum nl80211_iftype type) 20static bool nl80211_type_check(enum nl80211_iftype type)
28{ 21{
29 switch (type) { 22 switch (type) {