Skip to content
Commit 88ee23ef authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Eliminate rcu_implicit_dynticks_qs() local variable rnhqp



The rcu_implicit_dynticks_qs() function's local variable rnhqp references
the ->rcu_need_heavy_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 few lines of code by replacing each instance of rnhqp with
&rdp->need_heavy_qs.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 52b030aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment