summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorChi Pham <fempsci@gmail.com>2014-03-12 16:36:19 +0100
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2014-03-13 17:44:45 -0700
commit24e7d7990179e5ed38e90d78d12c25fa201c618a (patch)
treed2ed509671409a618aeee5ae58616157de418836 /include/uapi/linux
parent5a9e30eec8d97ef5d00beaa942b6e2d4dd7d795c (diff)
staging: cxt1e1: Removed assignments from if statements.
Assignments removed from if statements. Fixed checkpatch warning such as indentation and negative error returns in adjacent code. Coccinelle was used for this patch. The following script found the match: @simple@ expression E1, E2; statement S1, S2; @@ + E1 = E2; if ( - (E1 = E2) + E1 ) S1 else S2 @left@ expression E0, E1, E2; statement S1, S2; @@ + E1 = E2; if ( - (E1 = E2) + E1 == E0 ) S1 else S2 Signed-off-by: Chi Pham <fempsci@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions