diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2025-08-01 16:37:23 -0400 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2025-08-01 16:49:14 -0400 |
commit | c89504a703fb779052213add0e8ed642f4a4f1c8 (patch) | |
tree | e69f5aec823c7e8cb4574d560a3d98a33d32da30 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 623526ba8984cafdffa0eba7ee424f2e40c8a219 (diff) |
tracing: Remove unneeded goto out logic
Several places in the trace.c file there's a goto out where the out is
simply a return. There's no reason to jump to the out label if it's not
doing any more logic but simply returning from the function.
Replace the goto outs with a return and remove the out labels.
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/20250801203857.538726745@kernel.org
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions