rcu: Eliminate rcu_implicit_dynticks_qs() local variable ruqp
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 22 Jul 2021 23:47:42 +0000 (16:47 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 13 Sep 2021 23:32:46 +0000 (16:32 -0700)
commit9424b867a759febc2b67b6777bfa27f0f830d437
tree8560dba0f9f26d64ab532dcbec8bda397ba585f7
parent88ee23ef1c129e40309f4612f80dd74be4590c03
rcu: Eliminate rcu_implicit_dynticks_qs() local variable ruqp

The rcu_implicit_dynticks_qs() function's local variable ruqp references
the ->rcu_urgent_qs field in the rcu_data structure referenced by the
function parameter rdp, with a rather odd method for computing the
pointer to this field.  This commit therefore simplifies things and
saves a couple of lines of code by replacing each instance of ruqp with
&rdp->need_heavy_qs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tree.c