mac80211: remove local_to_hw

That's a lot longer than open-coding it and
doesn't really add value, so just remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Johannes Berg
2012-02-26 11:24:35 +01:00
committed by John W. Linville
parent 3431683759
commit 005e472b45
4 changed files with 5 additions and 11 deletions

View File

@@ -1128,12 +1128,6 @@ static inline struct ieee80211_local *hw_to_local(
return container_of(hw, struct ieee80211_local, hw);
}
static inline struct ieee80211_hw *local_to_hw(
struct ieee80211_local *local)
{
return &local->hw;
}
static inline int ieee80211_bssid_match(const u8 *raddr, const u8 *addr)
{