rcu: Inline rcu_dynticks_momentary_idle() into its sole caller
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 16 May 2018 23:01:56 +0000 (16:01 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:16 +0000 (15:39 -0700)
commit3b57a3994f330a102b91bd70c84c9530c0ae50f6
treed4ce4310f49b1ea336ebdb419f8e35d452d36089
parent15651201fa055ec81d3669b36ab7c2fb12c3ce36
rcu: Inline rcu_dynticks_momentary_idle() into its sole caller

The rcu_dynticks_momentary_idle() function is invoked only from
rcu_momentary_dyntick_idle(), and neither function is particularly
large.  This commit therefore saves a few lines by inlining
rcu_dynticks_momentary_idle() into rcu_momentary_dyntick_idle().

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