rcu: Remove redundant check of cpu_online()
authorYao Dongdong <yaodongdong@huawei.com>
Wed, 25 Feb 2015 09:09:46 +0000 (17:09 +0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 3 Mar 2015 19:17:34 +0000 (11:17 -0800)
Because invoke_cpu_core() checks whether the current CPU is online,
there is no need for __call_rcu_core() to redundantly check it.
There should not be any performance degradation because the called
function is visible to the compiler.  This commit therefore removes
the redundant check.

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

Simple merge