From: Paul E. McKenney Date: Sat, 1 Dec 2018 03:12:04 +0000 (-0800) Subject: rcu: Remove unused rcu_cpu_kthread_cpu per-CPU variable X-Git-Tag: v5.1-rc1~166^2^2~4^2~6 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b2c1955b88495c1531b2080ba4fad119c0a03cc1;p=uclinux-h8%2Flinux.git rcu: Remove unused rcu_cpu_kthread_cpu per-CPU variable The rcu_cpu_kthread_cpu used to provide debugfs information, but is no longer used. This commit therefore removes it. Signed-off-by: Paul E. McKenney --- diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 7ae6774a920e..008c356c7033 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -408,10 +408,6 @@ static const char *tp_rcu_varname __used __tracepoint_string = rcu_name; int rcu_dynticks_snap(struct rcu_data *rdp); -#ifdef CONFIG_RCU_BOOST -DECLARE_PER_CPU(int, rcu_cpu_kthread_cpu); -#endif /* #ifdef CONFIG_RCU_BOOST */ - /* Forward declarations for rcutree_plugin.h */ static void rcu_bootup_announce(void); static void rcu_qs(void);