]> Pileus Git - ~andy/linux/commitdiff
mac80211: remove unused function
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jun 2012 14:16:22 +0000 (16:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 26 Jun 2012 07:35:49 +0000 (09:35 +0200)
Remove the unused function is_ieee80211_device().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c

index 37eda7e00e03f3401b3503e694ef3887b4c6ca06..ec8f534673745f61eae34cb7fa922498d7693874 100644 (file)
@@ -175,12 +175,6 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx,
        return cpu_to_le16(dur);
 }
 
-static inline int is_ieee80211_device(struct ieee80211_local *local,
-                                     struct net_device *dev)
-{
-       return local == wdev_priv(dev->ieee80211_ptr);
-}
-
 /* tx handlers */
 static ieee80211_tx_result debug_noinline
 ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx)