rcu: Remove unused but set variable
authorTobias Klauser <tklauser@distanz.ch>
Mon, 17 Oct 2016 09:13:07 +0000 (11:13 +0200)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Jan 2017 19:32:35 +0000 (11:32 -0800)
commit94060d2235cf419f2d46dbce95727e6f826b233c
tree846c5da7243e6fa84531b150b5e2266cd9d90024
parent2535db485cad8f302196af05888721ce82528978
rcu: Remove unused but set variable

Since commit 7ec99de36f40 ("rcu: Provide exact CPU-online tracking for
RCU"), the variable mask in rcu_init_percpu_data is set but no longer
used. Remove it to fix the following warning when building with 'W=1':

  kernel/rcu/tree.c: In function ‘rcu_init_percpu_data’:
  kernel/rcu/tree.c:3765:16: warning: variable ‘mask’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcu/tree.c