diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-06-19 10:16:22 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-26 03:35:49 -0400 |
commit | 171243612f1612402fbf83f3f034a1beefcdea61 (patch) | |
tree | 15d2580a7225ce3aeb6b3efb6f8ffd5d9f5aef5f /net | |
parent | 88e920b4505105b710f8d4a535ec02c4078f8e2e (diff) |
mac80211: remove unused function
Remove the unused function is_ieee80211_device().
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/mac80211/tx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index 37eda7e00e03..ec8f53467374 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c | |||
@@ -175,12 +175,6 @@ static __le16 ieee80211_duration(struct ieee80211_tx_data *tx, | |||
175 | return cpu_to_le16(dur); | 175 | return cpu_to_le16(dur); |
176 | } | 176 | } |
177 | 177 | ||
178 | static inline int is_ieee80211_device(struct ieee80211_local *local, | ||
179 | struct net_device *dev) | ||
180 | { | ||
181 | return local == wdev_priv(dev->ieee80211_ptr); | ||
182 | } | ||
183 | |||
184 | /* tx handlers */ | 178 | /* tx handlers */ |
185 | static ieee80211_tx_result debug_noinline | 179 | static ieee80211_tx_result debug_noinline |
186 | ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx) | 180 | ieee80211_tx_h_dynamic_ps(struct ieee80211_tx_data *tx) |