summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-22 22:30:44 -0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 09:52:02 +0200
commita6ec5bb812fdaab5e2b7e73d4527c7cc477448a2 (patch)
tree1f0027c15fdd3cda9317c4ce3ed97c2558b16232 /tools/perf/scripts/python
parentf99e73a5e3ff556bc69e5e592fee18d4cb7600dd (diff)
downloadlinux-a6ec5bb812fdaab5e2b7e73d4527c7cc477448a2.tar.gz
linux-a6ec5bb812fdaab5e2b7e73d4527c7cc477448a2.zip
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 <elise.lennion@gmail.com> Reviewed-by: Andreas Dilger <andreas.dilger@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions