From: sashiko-bot@kernel.org
To: "Temitope obabi" <obabitemitope765@gmail.com>,
linux-trace-kernel@vger.kernel.org
Subject: Re: [PATCH] ASoC: Intel: Remove unused sst_ipc_inbox_rdata tracepoint
Date: Wed, 11 Nov 2026 01:59:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-208063@kernel.org> (raw)
In-Reply-To: <20261110132013.732-1-obabitemitope765@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] ASoC: Intel: incomplete removal of unused intel-sst.h tracepoint
header
--
commit 47a1bdb679fab28a368c73c42b9adeadd92a9bea
Author: Temitope obabi <obabitemitope765@gmail.com>
> ASoC: Intel: Remove unused sst_ipc_inbox_rdata tracepoint
>
> The sst_ipc_inbox_rdata tracepoint has had no callers since commit
> 970d299b0a0a ("ASoC: Intel: Remove unused code") removed the last one.
>
> Tracepoints that are defined take up around 5K each, even if they are
> not used. Remove this unused tracepoint.
>
> Fixes: 970d299b0a0a ("ASoC: Intel: Remove unused code")
> Signed-off-by: Temitope obabi <obabitemitope765@gmail.com>
> diff --git a/include/trace/events/intel-sst.h b/include/trace/events/intel-sst.h
> index 0416e91f81817..ae7c269b0824f 100644
> --- a/include/trace/events/intel-sst.h
> +++ b/include/trace/events/intel-sst.h
> @@ -69,14 +69,6 @@ DECLARE_EVENT_CLASS(sst_ipc_mailbox,
> (unsigned int)__entry->offset, (unsigned int)__entry->val)
> );
>
> -DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_rdata,
> -
> - TP_PROTO(unsigned int offset, unsigned int val),
> -
> - TP_ARGS(offset, val)
> -
> -);
> -
> DEFINE_EVENT(sst_ipc_mailbox, sst_ipc_inbox_wdata,
>
> TP_PROTO(unsigned int offset, unsigned int val),
[Severity: Low]
Should the entire include/trace/events/intel-sst.h header be removed
instead of just sst_ipc_inbox_rdata?
Commit 970d299b0a0a ("ASoC: Intel: Remove unused code") deleted
sound/soc/intel/common/sst-dsp.c, which was the only file in the tree that
defined CREATE_TRACE_POINTS and included trace/events/intel-sst.h. The
remaining nine DEFINE_EVENT definitions and three DECLARE_EVENT_CLASS
definitions in this header also have no callers. Because no translation
unit includes trace/events/intel-sst.h, none of these tracepoints are
compiled into the kernel image or consume memory, so the commit message
claim and the Fixes: tag are also inaccurate for this cleanup.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261110132013.732-1-obabitemitope765@gmail.com?part=1
prev parent reply other threads:[~2026-11-11 1:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-10 13:20 [PATCH] ASoC: Intel: Remove unused sst_ipc_inbox_rdata tracepoint Temitope obabi
2026-11-11 1:59 ` sashiko-bot [this message]
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=sashiko-outbox-208063@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=obabitemitope765@gmail.com \
--cc=sashiko-reviews@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