git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e3f878
)
staging: remove unneeded parentheses around the right hand side of an assignment
author
Jiayi Ye
<yejiayily@gmail.com>
Sat, 25 Oct 2014 02:58:28 +0000
(10:58 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:06 +0000
(10:33 +0800)
In assignments such as value = (FLASH_CMD_STATUS_REG_READ << 24);, parentheses
are not needed. The Coccinelle semantic patch was used to find cases.
@r@
identifier x;
expression e1, e2;
@@
- x = (e1 << e2);
+ x = e1 << e2;
Signed-off-by: Jiayi Ye <yejiayily@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
No differences found