git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://github.com/at91linux/linux-2.6-at91
[pandora-kernel.git]
/
Documentation
/
CodingStyle
diff --git
a/Documentation/CodingStyle
b/Documentation/CodingStyle
index
1cd3478
..
58b0bf9
100644
(file)
--- a/
Documentation/CodingStyle
+++ b/
Documentation/CodingStyle
@@
-168,6
+168,13
@@
Do not unnecessarily use braces where a single statement will do.
if (condition)
action();
+and
+
+if (condition)
+ do_this();
+else
+ do_that();
+
This does not apply if one branch of a conditional statement is a single
statement. Use braces in both branches.