From: Paul E. McKenney Date: Sun, 1 Sep 2013 02:23:29 +0000 (-0700) Subject: rcu: Silence unused-variable warnings X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~44^2^2~3^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=289828e62de0334a0d01c0f65df91cd47d3a9e05;p=pandora-kernel.git rcu: Silence unused-variable warnings The "idle" variable in both rcu_eqs_enter_common() and rcu_eqs_exit_common() is only used in a WARN_ON_ONCE(). If the kernel is built disabling WARN_ON_ONCE(), the compiler will complain (rightly) that "idle" is unused. This commit therefore adds a __maybe_unused to the declaration of both variables. Signed-off-by: Paul E. McKenney --- Reading git-diff-tree failed