]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mac80211: remove wiphy_to_hw
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 7 Oct 2008 10:04:33 +0000 (12:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 22:06:00 +0000 (18:06 -0400)
This isn't used by anyone, if we ever need it we can add
it back, until then it's useless.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/cfg.c

index 8856e2d60e9fe5cc04e83445e2b9ea5a6f63f031..e41b9a8d186f2348e613628aaa469d72981ae86d 100644 (file)
@@ -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
  *
index 855126a3039daa16ae64ca60c8087e0439a0d61f..8dc5e46cea68979e1c687c8a891f84054a4465f8 100644 (file)
 #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) {