Commit 2d22216
committed
ring-buffer: Removed unnecessary if() goto out where out is the next line
In the function ring_buffer_discard_commit() there's an if statement that
jumps to the next line:
if (rb_try_to_discard(cpu_buffer, event))
goto out;
out:
This was caused by the change that modified the way timestamps were taken
in interrupt context, and removed the code between the if statement and
the goto, but failed to update the conditional logic.
Cc: Mathieu Desnoyers <[email protected]>
Link: https://lore.kernel.org/[email protected]
Fixes: a389d86 ("ring-buffer: Have nested events still record running time stamp")
Reviewed-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent 32dc004 commit 2d22216
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4685 | 4685 | | |
4686 | 4686 | | |
4687 | 4687 | | |
4688 | | - | |
4689 | | - | |
4690 | | - | |
4691 | | - | |
| 4688 | + | |
4692 | 4689 | | |
4693 | 4690 | | |
4694 | 4691 | | |
| |||
0 commit comments