From: Yao Dongdong Date: Wed, 25 Feb 2015 09:09:46 +0000 (+0800) Subject: rcu: Remove redundant check of cpu_online() X-Git-Tag: omap-for-v4.2/o2_dc~148^2~2^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9910affa89fe0895153880b115ec243636e70af3;p=pandora-kernel.git rcu: Remove redundant check of cpu_online() 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 Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed