]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Remove unused local variable "cpu"
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 18:21:20 +0000 (11:21 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:39:17 +0000 (15:39 -0700)
commitbc0dce01f0c3ed9a6dbf35435d8bfd87b46dd506
treee68be9f2e9503c16e56e6fdc4af567eba8ce9ff7
parent0b12a40e27503a24a07daf438800a81fc589d2e9
rcu: Remove unused local variable "cpu"

One danger of using __maybe_unused is that the compiler doesn't yell
at you when you remove the last reference, witness rcu_bind_gp_kthread()
and its local variable "cpu".  This commit removes this local variable.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcu/tree_plugin.h