summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorElise Lennion <elise.lennion@gmail.com>2016-10-23 03:30:44 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-25 10:52:02 +0300
commita6ec5bb812fdaab5e2b7e73d4527c7cc477448a2 (patch)
tree1f0027c15fdd3cda9317c4ce3ed97c2558b16232 /scripts/basic
parentf99e73a5e3ff556bc69e5e592fee18d4cb7600dd (diff)
downloadlinux-a6ec5bb812fdaab5e2b7e73d4527c7cc477448a2.tar.xz
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 'scripts/basic')
0 files changed, 0 insertions, 0 deletions