summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorChen Gang2015-12-26 14:41:44 +0100
committerPaul E. McKenney2016-02-24 04:59:53 +0100
commit1914aab54319ed70608078df4f18ac4767753977 (patch)
tree9cb95e628a4615e1f5a9017d00396d7611e20765 /scripts/checkpatch.pl
parentrcutorture: Correct no-expedite console messages (diff)
downloadkernel-qcow2-linux-1914aab54319ed70608078df4f18ac4767753977.tar.gz
kernel-qcow2-linux-1914aab54319ed70608078df4f18ac4767753977.tar.xz
kernel-qcow2-linux-1914aab54319ed70608078df4f18ac4767753977.zip
rcu: Remove useless rcu_data_p when !PREEMPT_RCU
The related warning from gcc 6.0: In file included from kernel/rcu/tree.c:4630:0: kernel/rcu/tree_plugin.h:810:40: warning: ‘rcu_data_p’ defined but not used [-Wunused-const-variable] static struct rcu_data __percpu *const rcu_data_p = &rcu_sched_data; ^~~~~~~~~~ Also remove always redundant rcu_data_p in tree.c. Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions