]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation: update CodingStyle use of braces
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 4 Nov 2011 18:22:19 +0000 (11:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Nov 2011 19:01:47 +0000 (12:01 -0700)
commit0ed16ae4c97e7cafc5e384ed919b1d06fc517a64
tree32140ce0a2a8ec1882326b2e43a3153f00378a19
parentffe00e5389f704cd81431446709107e856163be0
Documentation: update CodingStyle use of braces

After commit 92d1585c20f3 ("Documentation/CodingStyle: flesh out if-else
examples") highlight that if _only_one_ branch of a conditional
statement is a single statement, then braces are to be used on both
branches.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/CodingStyle