]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - kernel/rcutree_plugin.h
rcu: Fix code-style issues involving "else"
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 28 Jun 2012 15:08:25 +0000 (08:08 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 6 Jul 2012 13:01:48 +0000 (06:01 -0700)
commitc701d5d9b384ff03ceb232ef21236364d784a411
treeae5b4793c478d3c575e506f1d36c798b73c542ff
parent02a0677b0be545a07ffb15a13419efd7c82881e0
rcu: Fix code-style issues involving "else"

The Linux kernel coding style says that single-statement blocks should
omit curly braces unless the other leg of the "if" statement has
multiple statements, in which case the curly braces should be included.
This commit fixes RCU's violations of this rule.

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
kernel/rcutiny_plugin.h
kernel/rcutorture.c
kernel/rcutree.c
kernel/rcutree_plugin.h