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 --- 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