commit | b218ab0a5af943441e1daa7dc811874ecd409229 | [log] [tgz] |
---|---|---|
author | Antonio Ospite <ospite@studenti.unina.it> | Fri Nov 04 11:22:19 2011 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 04 12:01:47 2011 -0700 |
tree | 32140ce0a2a8ec1882326b2e43a3153f00378a19 | |
parent | d83fe6b6c54749a9b2d3198d62ec981024459425 [diff] |
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>