Skip to content

Commit

Permalink
mac80211: remove unused function
Browse files Browse the repository at this point in the history
Remove the unused function is_ieee80211_device().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Johannes Berg committed Jun 26, 2012
1 parent 88e920b commit 1712436
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions net/mac80211/tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1712436

Please sign in to comment.