aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2022-05-31 21:38:15 -0700
committerPaul E. McKenney <[email protected]>2022-06-20 09:22:28 -0700
commit0968e8920b5b11b7a33982890ad9150e09e1cb1f (patch)
tree204f6f2a5f66ed0bfdb114da7c6d5e3709fc55bf /net/lapb/lapb_out.c
parent6a694411977a6d57ff76a896a745c2f717372dac (diff)
rcu-tasks: Simplify trc_inspect_reader() QS logic
Currently, trc_inspect_reader() does one check for nesting less than or equal to zero, then sorts out the distinctions within this single "if" statement. This commit simplifies the logic by providing one "if" statement for quiescent states (nesting of zero) and another "if" statement for transitioning from one nesting level to another or the outermost rcu_read_unlock_trace() (negative nesting). Signed-off-by: Paul E. McKenney <[email protected]> Cc: Neeraj Upadhyay <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Alexei Starovoitov <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: Martin KaFai Lau <[email protected]> Cc: KP Singh <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions