diff options
author | Paul E. McKenney <[email protected]> | 2022-05-26 16:12:51 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2022-06-20 09:22:27 -0700 |
commit | 9ff86b4c443cc93bf3a9b624e3385e4114388e85 (patch) | |
tree | abdd58db04c22386fdc60ae307915b3b9b0941ff /net/lapb/lapb_out.c | |
parent | 550611269b153dc17b44fa2d692c30f628d1c65c (diff) |
rcu-tasks: Make trc_read_check_handler() fetch ->trc_reader_nesting only once
This commit replaces the pair of READ_ONCE(t->trc_reader_nesting) calls
with a single such call and a local variable. This makes the code's
intent more clear.
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