Re: [PATCH] tracing: Remove unused variable in tracing_trace_options_show()

From: Andy Shevchenko
Date: Mon Nov 17 2025 - 12:29:33 EST


On Mon, Nov 17, 2025 at 12:06:37PM -0500, Steven Rostedt wrote:

> The flags and opts used in tracing_trace_options_show() now come directly
> from the trace array "current_trace_flags" and not the current_trace. The
> variable "trace" was still being assigned to tr->current_trace but never
> used. This caused a warning in clang.

Tested-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko