commit | 05567581ea8ddec6c6405a22b0d35d483d50d8ac | [log] [tgz] |
---|---|---|
author | Yao Dongdong <yaodongdong@huawei.com> | Wed Feb 25 17:09:46 2015 +0800 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Thu Feb 26 12:02:22 2015 -0800 |
tree | d11f1636c4ffb828f7334197c68c39b521ddede5 | |
parent | bc98273ccae03003aa6a2800f48ffba5c39f028f [diff] |
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 <yaodongdong@huawei.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>