Skip to content
Commit ed888241 authored by Wan Jiabing's avatar Wan Jiabing Committed by Steven Rostedt (Google)
Browse files

ring-buffer: Simplify if-if to if-else



Use if and else instead of if(A) and if (!A).

Link: https://lkml.kernel.org/r/20220426070628.167565-1-wanjiabing@vivo.com

Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
parent 4ee51101
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment