diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-05 05:32:07 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-31 01:03:53 +0200 |
commit | 8d8a9d0e7eda9feeee4af7be31932e14b512d3ad (patch) | |
tree | 16557e3a1cae13a1b288cda4ac92d6b906df352a /kernel/rcu/tree.c | |
parent | rcu: Switch ->dynticks to rcu_data structure, remove rcu_dynticks (diff) | |
download | linux-8d8a9d0e7eda9feeee4af7be31932e14b512d3ad.tar.xz linux-8d8a9d0e7eda9feeee4af7be31932e14b512d3ad.zip |
rcu: Remove obsolete ->dynticks_fqs and ->cond_resched_completed
The rcu_data structure's ->dynticks_fqs is incremented but never
accesses. Its ->cond_resched_completed field isn't used at all.
This commit therefore removes both fields.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.c')
-rw-r--r-- | kernel/rcu/tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 32f500fb24d3..85c2c2dc4c4a 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -1039,7 +1039,6 @@ static int rcu_implicit_dynticks_qs(struct rcu_data *rdp) */ if (rcu_dynticks_in_eqs_since(rdp, rdp->dynticks_snap)) { trace_rcu_fqs(rcu_state.name, rdp->gp_seq, rdp->cpu, TPS("dti")); - rdp->dynticks_fqs++; rcu_gpnum_ovf(rnp, rdp); return 1; } |