diff options
| author | Chi Pham <fempsci@gmail.com> | 2014-03-09 14:55:14 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-18 11:03:50 -0700 |
| commit | 86a7dacc8f8dfc93bdbbb3ec3ae53e9bae83556f (patch) | |
| tree | 5de132ec2ca66e9ac95b588a1ae476e43356f929 /tools/perf/scripts/python | |
| parent | f4d636ddefcdcde4a574c2c96cf4910c3dd2fb9a (diff) | |
staging:media: Removed assignments from if statements.
The following coccinelle 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 S0, S1;
@@
- if ((E1 = E2) < E0)
+ E1 = E2;
+ if (E1 < E0)
S1
Signed-off-by: Chi Pham <fempsci@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
