OSDN Git Service

rcu: Remove dead code from force_qs_rnp()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 9 Mar 2015 23:58:41 +0000 (16:58 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 19:58:37 +0000 (12:58 -0700)
commitc5b5539506f86469dca08310657ca93bbb6c00a5
tree96b79812e7a7b35d8c4d06c518443c6a397712af
parent0a0ba1c93f8a0ff28bacec0d1d018081e762e2f0
rcu: Remove dead code from force_qs_rnp()

Because force_qs_rnp() is invoked only from the force-quiescent-state
code which runs only in the context of the grace-period kthread, a grace
period must always be in progress throughout force_qs_rnp()'s execution.
This commit therefore removes the rcu_gp_in_progress() check and the
associated dead code.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree.c