Commit f115d2b
committed
ring-buffer: Remove jump to out label in ring_buffer_swap_cpu()
The function ring_buffer_swap_cpu() has a bunch of jumps to the label out
that simply returns "ret". There's no reason to jump to a label that
simply returns a value. Just return directly from there.
This goes back to almost the beginning when commit 8aabee5
("ring-buffer: remove unneeded get_online_cpus") was introduced. That
commit removed a put_online_cpus() from that label, but never updated all
the jumps to it that now no longer needed to do anything but return a
value.
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 2d22216 commit f115d2b
1 file changed
+9
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6315 | 6315 | | |
6316 | 6316 | | |
6317 | 6317 | | |
6318 | | - | |
| 6318 | + | |
6319 | 6319 | | |
6320 | 6320 | | |
6321 | 6321 | | |
6322 | 6322 | | |
6323 | 6323 | | |
6324 | | - | |
6325 | | - | |
6326 | | - | |
6327 | | - | |
| 6324 | + | |
| 6325 | + | |
6328 | 6326 | | |
6329 | 6327 | | |
6330 | 6328 | | |
6331 | | - | |
| 6329 | + | |
6332 | 6330 | | |
6333 | 6331 | | |
6334 | | - | |
6335 | | - | |
6336 | | - | |
| 6332 | + | |
6337 | 6333 | | |
6338 | 6334 | | |
6339 | | - | |
| 6335 | + | |
6340 | 6336 | | |
6341 | 6337 | | |
6342 | | - | |
| 6338 | + | |
6343 | 6339 | | |
6344 | 6340 | | |
6345 | | - | |
| 6341 | + | |
6346 | 6342 | | |
6347 | 6343 | | |
6348 | | - | |
| 6344 | + | |
6349 | 6345 | | |
6350 | 6346 | | |
6351 | 6347 | | |
| |||
6382 | 6378 | | |
6383 | 6379 | | |
6384 | 6380 | | |
6385 | | - | |
6386 | 6381 | | |
6387 | 6382 | | |
6388 | 6383 | | |
| |||
0 commit comments