]> git.karo-electronics.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>
Wed, 22 May 2013 20:53:34 +0000 (13:53 -0700)
commit13e422c6a93aec409bef1b8d14bbe83455742e82
tree09a24bc391154be1dd7e95b7643756ca33b553ff
parentfcb8c2757314ddde29081718510a772a5fb6dc6f
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