]> git.baikalelectronics.ru Git - kernel.git/commit
blk-throttle: Adjust two function calls together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 21 Jan 2017 21:15:33 +0000 (22:15 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 23 Jan 2017 15:32:15 +0000 (08:32 -0700)
commitb26e380a33840b7cb5be5f764ad18c3122c9d1cc
tree65b4e6bc4b57675d2e29709b763f37922787ed46
parentd5f412c64e325d403d8d7c1e01bb295389fddf08
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>
block/blk-throttle.c