]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitb218ab0a5af943441e1daa7dc811874ecd409229
tree32140ce0a2a8ec1882326b2e43a3153f00378a19
parentd83fe6b6c54749a9b2d3198d62ec981024459425
Documentation: update CodingStyle use of braces

After commit 38829dc9d7b4 ("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