summaryrefslogtreecommitdiffstats
path: root/net/mac80211/driver-ops.h
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@iki.fi>2010-02-07 10:22:01 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-02-08 16:51:01 -0500
commit349e6b7289f8a3d3d5d3b859e00b41f27d1211df (patch)
treed80af4e7b9ece2b42e8093f44bfedd13d9653bd5 /net/mac80211/driver-ops.h
parent00a08eb62f790383bcc8ea309d4afb9ef346ef0b (diff)
downloadlinux-349e6b7289f8a3d3d5d3b859e00b41f27d1211df.tar.gz
linux-349e6b7289f8a3d3d5d3b859e00b41f27d1211df.tar.bz2
linux-349e6b7289f8a3d3d5d3b859e00b41f27d1211df.zip
mac80211: remove get_tx_stats() driver op
get_tx_stats() driver operation is not currently used anywhere in mac80211 and there are no plans to use it in the not-so-near future. So it can go without anyone missing it. Signed-off-by: Kalle Valo <kalle.valo@iki.fi> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/driver-ops.h')
-rw-r--r--net/mac80211/driver-ops.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/net/mac80211/driver-ops.h b/net/mac80211/driver-ops.h
index 855e85b55061..c3d844093a2f 100644
--- a/net/mac80211/driver-ops.h
+++ b/net/mac80211/driver-ops.h
@@ -290,14 +290,6 @@ static inline int drv_conf_tx(struct ieee80211_local *local, u16 queue,
return ret;
}
-static inline int drv_get_tx_stats(struct ieee80211_local *local,
- struct ieee80211_tx_queue_stats *stats)
-{
- int ret = local->ops->get_tx_stats(&local->hw, stats);
- trace_drv_get_tx_stats(local, stats, ret);
- return ret;
-}
-
static inline u64 drv_get_tsf(struct ieee80211_local *local)
{
u64 ret = -1ULL;