mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] wifi: mac80211: remove unused drv_offchannel_tx_cancel_wait tracepoint
@ 2026-11-05 15:04 Hussain Sitamouwala
  0 siblings, 0 replies; only message in thread
From: Hussain Sitamouwala @ 2026-11-05 15:04 UTC (permalink / raw)
  To: outreachy; +Cc: johannes, linux-wireless, linux-kernel, Hussain Sitamouwala

The drv_offchannel_tx_cancel_wait tracepoint is defined but never
used. Its only call site was in drv_offchannel_tx_cancel_wait() in
driver-ops.h, which was removed by commit b4ca6084a84d ("mac80211:
remove offchannel_tx API"). That commit left the trace event
definition behind.

Remove the unused tracepoint. It was found with "make UT=1".

Signed-off-by: Hussain Sitamouwala <husainsitamuwala21@gmail.com>
---
 net/mac80211/trace.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/net/mac80211/trace.h b/net/mac80211/trace.h
index ea46c3cca21a..f34d079f3d38 100644
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@ -1472,11 +1472,6 @@ DEFINE_EVENT(local_only_evt, drv_tx_frames_pending,
 	TP_ARGS(local)
 );
 
-DEFINE_EVENT(local_only_evt, drv_offchannel_tx_cancel_wait,
-	TP_PROTO(struct ieee80211_local *local),
-	TP_ARGS(local)
-);
-
 TRACE_EVENT(drv_set_bitrate_mask,
 	TP_PROTO(struct ieee80211_local *local,
 		 struct ieee80211_sub_if_data *sdata,
-- 
2.53.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-05 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 15:04 [PATCH] wifi: mac80211: remove unused drv_offchannel_tx_cancel_wait tracepoint Hussain Sitamouwala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®