diff options
author | 2012-11-30 10:41:57 -0500 | |
---|---|---|
committer | 2013-01-21 13:22:29 -0500 | |
commit | 771e03842a9e98a1c2013ca1ed8bb2793488f3e5 (patch) | |
tree | 6d133d84777c6161520ab00a8ce8f016fd1bf261 /kernel/trace/trace.c | |
parent | tracing: Fix sparse warning with is_signed_type() macro (diff) | |
download | wireguard-linux-771e03842a9e98a1c2013ca1ed8bb2793488f3e5.tar.xz wireguard-linux-771e03842a9e98a1c2013ca1ed8bb2793488f3e5.zip |
ring-buffer: Remove unnecessary recusive call in rb_advance_iter()
The original ring-buffer code had special checks at the start
of rb_advance_iter() and instead of repeating them again at the
end of the function if a certain condition existed, I just did
a recursive call to rb_advance_iter() because the special condition
would cause rb_advance_iter() to return early (after the checks).
But as things have changed, the special checks no longer exist
and the only thing done for the special_condition is to call
rb_inc_iter() and return. Instead of doing a confusing recursive call,
just call rb_inc_iter instead.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
0 files changed, 0 insertions, 0 deletions