diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-03-10 09:49:04 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-06-14 16:01:41 -0700 |
commit | d3acab65f274800dd0901f0816f8bca9f2a8c8ec (patch) | |
tree | e9d19bc07e8c54d2201730dc54e24c5fadc99395 /kernel/rcu | |
parent | 590d1757b9d177e7fe3707963d0209d6eefbc746 (diff) | |
download | linux-stable-d3acab65f274800dd0901f0816f8bca9f2a8c8ec.tar.gz linux-stable-d3acab65f274800dd0901f0816f8bca9f2a8c8ec.tar.bz2 linux-stable-d3acab65f274800dd0901f0816f8bca9f2a8c8ec.zip |
rcu: Remove some superfluous lines
I think you'll find this condition is superfluous, as the whole function
is under #ifdef of that same.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu')
-rw-r--r-- | kernel/rcu/tree.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 6043c14165d1..4aefeafb9a95 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -4363,9 +4363,6 @@ static void rcu_cleanup_dying_idle_cpu(int cpu, struct rcu_state *rsp) struct rcu_data *rdp = per_cpu_ptr(rsp->rda, cpu); struct rcu_node *rnp = rdp->mynode; /* Outgoing CPU's rdp & rnp. */ - if (!IS_ENABLED(CONFIG_HOTPLUG_CPU)) - return; - /* Remove outgoing CPU from mask in the leaf rcu_node structure. */ mask = rdp->grpmask; raw_spin_lock_irqsave_rcu_node(rnp, flags); /* Enforce GP memory-order guarantee. */ |