aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@iki.fi>2010-02-07 03:22:01 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-02-08 16:51:01 -0500
commit349e6b7289f8a3d3d5d3b859e00b41f27d1211df (patch)
treed80af4e7b9ece2b42e8093f44bfedd13d9653bd5 /net/mac80211
parent00a08eb62f790383bcc8ea309d4afb9ef346ef0b (diff)
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')
-rw-r--r--net/mac80211/driver-ops.h8
-rw-r--r--net/mac80211/driver-trace.h23
2 files changed, 0 insertions, 31 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,
290 return ret; 290 return ret;
291} 291}
292 292
293static inline int drv_get_tx_stats(struct ieee80211_local *local,
294 struct ieee80211_tx_queue_stats *stats)
295{
296 int ret = local->ops->get_tx_stats(&local->hw, stats);
297 trace_drv_get_tx_stats(local, stats, ret);
298 return ret;
299}
300
301static inline u64 drv_get_tsf(struct ieee80211_local *local) 293static inline u64 drv_get_tsf(struct ieee80211_local *local)
302{ 294{
303 u64 ret = -1ULL; 295 u64 ret = -1ULL;
diff --git a/net/mac80211/driver-trace.h b/net/mac80211/driver-trace.h
index c984910bf275..41baf730a5c7 100644
--- a/net/mac80211/driver-trace.h
+++ b/net/mac80211/driver-trace.h
@@ -630,29 +630,6 @@ TRACE_EVENT(drv_conf_tx,
630 ) 630 )
631); 631);
632 632
633TRACE_EVENT(drv_get_tx_stats,
634 TP_PROTO(struct ieee80211_local *local,
635 struct ieee80211_tx_queue_stats *stats,
636 int ret),
637
638 TP_ARGS(local, stats, ret),
639
640 TP_STRUCT__entry(
641 LOCAL_ENTRY
642 __field(int, ret)
643 ),
644
645 TP_fast_assign(
646 LOCAL_ASSIGN;
647 __entry->ret = ret;
648 ),
649
650 TP_printk(
651 LOCAL_PR_FMT " ret:%d",
652 LOCAL_PR_ARG, __entry->ret
653 )
654);
655
656TRACE_EVENT(drv_get_tsf, 633TRACE_EVENT(drv_get_tsf,
657 TP_PROTO(struct ieee80211_local *local, u64 ret), 634 TP_PROTO(struct ieee80211_local *local, u64 ret),
658 635