aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorPaul E. McKenney <[email protected]>2021-07-22 22:49:05 +0000
committerPaul E. McKenney <[email protected]>2021-09-13 23:32:45 +0000
commit88ee23ef1c129e40309f4612f80dd74be4590c03 (patch)
tree32238d27d652415f7c9bd5da3d9d05af54db555a /scripts/gcc-plugins/cyc_complexity_plugin.c
parentrcu-nocb: Fix a couple of tree_nocb code-style nits (diff)
downloadkernel-88ee23ef1c129e40309f4612f80dd74be4590c03.tar.gz
kernel-88ee23ef1c129e40309f4612f80dd74be4590c03.zip
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: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions