diff options
| author | Srishti Sharma <[email protected]> | 2017-09-16 02:35:47 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-09-18 11:52:36 +0200 |
| commit | 1521968f3cdfde1df64b68717eb9cfcb9f8fa52f (patch) | |
| tree | 78020cd920811873b56d5e04ac557f2aa581a8b8 /tools/perf/scripts/python | |
| parent | 6561e82d93e12744f1fa2048b6a17e5739682749 (diff) | |
Staging: irda: Don't use assignment inside if statement
Write assignment statement outside of the if statement. Done
using the following semantic patch by coccinelle.
@@
identifier E;
expression F;
statement S;
@@
-if((E = F))
+E = F;
+if(E)
S
Signed-off-by: Srishti Sharma <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions