mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hussain Sitamouwala <husainsitamuwala21@gmail.com>
To: outreachy@lists.linux.dev
Cc: johannes@sipsolutions.net, linux-wireless@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Hussain Sitamouwala <husainsitamuwala21@gmail.com>
Subject: [PATCH] wifi: mac80211: remove unused drv_offchannel_tx_cancel_wait tracepoint
Date: Thu,  5 Nov 2026 15:04:33 +0000	[thread overview]
Message-ID: <20261105150433.10816-1-husainsitamuwala21@gmail.com> (raw)

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


                 reply	other threads:[~2026-11-05 15:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261105150433.10816-1-husainsitamuwala21@gmail.com \
    --to=husainsitamuwala21@gmail.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=outreachy@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®