diff options
| author | Elise Lennion <[email protected]> | 2016-10-22 22:30:44 -0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-10-25 09:52:02 +0200 |
| commit | a6ec5bb812fdaab5e2b7e73d4527c7cc477448a2 (patch) | |
| tree | 1f0027c15fdd3cda9317c4ce3ed97c2558b16232 /tools/perf/scripts/python/bin | |
| parent | f99e73a5e3ff556bc69e5e592fee18d4cb7600dd (diff) | |
staging: lustre: Move assignments out of function calls.
Assignments inside of function calls confuse the reader and should be
avoided, so it was moved out before the call.
Found with Coccinelle, semantic patch:
@@
identifier f;
expression e1, e2;
assignment operator a;
@@
+ e1 a e2;
f(...,
- (e1 a e2)
+ e1
,...);
Signed-off-by: Elise Lennion <[email protected]>
Reviewed-by: Andreas Dilger <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions