summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.ibm.com>2019-07-05 08:05:10 -0700
committerPaul E. McKenney <paulmck@linux.ibm.com>2019-08-12 11:25:06 -0700
commitb823cafa7501f946a37dce5aa1e576a0b2f31ed9 (patch)
tree06da088fd881e806383351defbb57e862cb7fae4 /arch
parente78a7614f3876ac649b3df608789cb6ef74d0480 (diff)
downloadlinux-b823cafa7501f946a37dce5aa1e576a0b2f31ed9.tar.gz
linux-b823cafa7501f946a37dce5aa1e576a0b2f31ed9.tar.bz2
linux-b823cafa7501f946a37dce5aa1e576a0b2f31ed9.zip
rcu: Remove redundant "if" condition from rcu_gp_is_expedited()
Because rcu_expedited_nesting is initialized to 1 and not decremented until just before init is spawned, rcu_expedited_nesting is guaranteed to be non-zero whenever rcu_scheduler_active == RCU_SCHEDULER_INIT. This commit therefore removes this redundant "if" equality test. Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions