aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/rustdoc_test_gen.rs
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-08-01 20:37:23 +0000
committerSteven Rostedt (Google) <[email protected]>2025-08-01 20:49:14 +0000
commitc89504a703fb779052213add0e8ed642f4a4f1c8 (patch)
treee69f5aec823c7e8cb4574d560a3d98a33d32da30 /scripts/rustdoc_test_gen.rs
parentDocumentation: tracing: Add documentation about eprobes (diff)
downloadkernel-c89504a703fb779052213add0e8ed642f4a4f1c8.tar.gz
kernel-c89504a703fb779052213add0e8ed642f4a4f1c8.zip
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 <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Desnoyers <[email protected]> Cc: Andrew Morton <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions