]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
rcu: Eliminate check_for_new_grace_period() wrapper function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 19 Mar 2013 19:21:29 +0000 (12:21 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 10 Jun 2013 20:39:44 +0000 (13:39 -0700)
commit63274cfb94aac109fc2490a70a96b26751608e57
tree9e14753b46b04098ebd08607246a21cedd5dd235
parentba9fbe955f026780e6b27c279dba7c86dfdcb7d5
rcu: Eliminate check_for_new_grace_period() wrapper function

One of the calls to check_for_new_grace_period() is now redundant due to
an immediately preceding call to note_gp_changes().  Eliminating this
redundant call leaves a single caller, which is simpler if inlined.
This commit therefore eliminates the redundant call and inlines the
body of check_for_new_grace_period() into the single remaining call site.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutree.c