Re: [for-next][PATCH 4/4] cfg80211: Remove unused tracepoints
From: Johannes Berg
Date: Wed Oct 01 2025 - 10:53:47 EST
On Wed, 2025-10-01 at 10:46 -0400, Steven Rostedt wrote:
> From: Steven Rostedt <rostedt@xxxxxxxxxxx>
>
> Tracepoints that are defined take up around 5K each, even if they are not
> used. If they are defined and not used, then they waste memory for unused
> code. Soon unused tracepoints will cause warnings.
>
> Remove the unused tracepoints of the cfg80211 subsystem. They are:
>
> cfg80211_chandef_dfs_required
> cfg80211_return_u32
> cfg80211_return_uint
> cfg80211_send_rx_auth
This is in net-next [1], should go to Linus's tree whenever that is
pulled [2].
[1] https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=58febb47b961a91d0d12ee0c1618a7843c0908ce
[2] https://lore.kernel.org/lkml/20251001131156.27805-1-pabeni@xxxxxxxxxx/
johannes