summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2024-12-23 21:46:21 +0300
committerSteven Rostedt (Google) <rostedt@goodmis.org>2024-12-24 05:01:48 +0300
commit77e53cb2fcf2c5e81f06f4a41783d8752cf9d038 (patch)
tree383d7aee0cec5ad0d83ce51e2619691396e9d75a /tools/perf/scripts/python/task-analyzer.py
parentac8c3b02fc33be9deda48532326d301333d39f16 (diff)
downloadlinux-77e53cb2fcf2c5e81f06f4a41783d8752cf9d038.tar.xz
ftrace: Remove unneeded goto jumps
There are some goto jumps to exit a program to just return a value. The code after the label doesn't free anything nor does it do any unlocks. It simply returns the variable that was set before the jump. Remove these unneeded goto jumps. 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/20241223184941.544855549@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions