summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-11-17 12:06:37 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-11-26 15:13:28 -0500
commit49c1364c7ca3577037e5ded23c30e3248434c561 (patch)
treeb90e4b179bcc3066d4148e2eeb7c5a5f19935041 /tools/lib/python
parentac87b220a6e9530d752ab5718acc7776f9924702 (diff)
tracing: Remove unused variable in tracing_trace_options_show()
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. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://patch.msgid.link/20251117120637.43ef995d@gandalf.local.home Reported-by: Andy Shevchenko <andriy.shevchenko@intel.com> Tested-by: Andy Shevchenko <andriy.shevchenko@intel.com> Closes: https://lore.kernel.org/all/aRtHWXzYa8ijUIDa@black.igk.intel.com/ Fixes: 428add559b692 ("tracing: Have tracer option be instance specific") Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions