commit | d609af3a1397511a7a2c213f9f855fa82df771ee | [log] [tgz] |
---|---|---|
author | Markus Elfring <elfring@users.sourceforge.net> | Sat Jan 21 22:15:33 2017 +0100 |
committer | Jens Axboe <axboe@fb.com> | Mon Jan 23 08:32:15 2017 -0700 |
tree | 65b4e6bc4b57675d2e29709b763f37922787ed46 | |
parent | 4d608baac5f4e72b033a122b2d6d9499532c3afc [diff] |
blk-throttle: Adjust two function calls together with a variable assignment The script "checkpatch.pl" pointed information out like the following. ERROR: do not use assignment in if condition Thus fix the affected source code places. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@fb.com>