diff options
author | Joel Fernandes (Google) <joel@joelfernandes.org> | 2019-07-16 18:12:21 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-01 14:17:01 -0700 |
commit | 9147089bee3a6b504821dd8462e2be229e6dbfae (patch) | |
tree | f5bb78b34fbc5a4a7e2fd5b8e94d1fd4d79a787a /include/linux/rcupdate.h | |
parent | 0a5b99f57873e233ad42ef71e23c629f6ea1fcfe (diff) | |
download | lwn-9147089bee3a6b504821dd8462e2be229e6dbfae.tar.gz lwn-9147089bee3a6b504821dd8462e2be229e6dbfae.zip |
rcu: Remove redundant debug_locks check in rcu_read_lock_sched_held()
The debug_locks flag can never be true at the end of
rcu_read_lock_sched_held() because it is already checked by the earlier
call todebug_lockdep_rcu_enabled(). This commit therefore removes this
redundant check.
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'include/linux/rcupdate.h')
0 files changed, 0 insertions, 0 deletions