rcu: Eliminate the unused __rcu_is_watching() function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 3 May 2017 18:06:05 +0000 (11:06 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 9 Jun 2017 01:52:30 +0000 (18:52 -0700)
commit791875d16e2f6e2e5b90328ccac643f512ac76c4
treebe48a4e902826b9760c913641528a56d74281a9c
parentd0df7a349133e10184d478ae1189e79e5c53615d
rcu: Eliminate the unused __rcu_is_watching() function

The __rcu_is_watching() function is currently not used, aside from
to implement the rcu_is_watching() function.  This commit therefore
eliminates __rcu_is_watching(), which has the beneficial side-effect
of shrinking include/linux/rcupdate.h a bit.

Reported-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/rcupdate.h
include/linux/rcutiny.h
kernel/rcu/tiny.c
kernel/rcu/tree.c