Skip to content

Commit

Permalink
mac80211: remove wiphy_to_hw
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 31, 2008
1 parent c6a1fa1 commit 3db5943
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions include/net/mac80211.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down
7 changes: 0 additions & 7 deletions net/mac80211/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3db5943

Please sign in to comment.