]> git.baikalelectronics.ru Git - kernel.git/commit
cfq-iosched: Adjust one function call together with a variable assignment
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 21 Jan 2017 21:44:07 +0000 (22:44 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 23 Jan 2017 15:32:18 +0000 (08:32 -0700)
commit243f893d08a16d4dd46ec22e71538aff32d40084
treea2527f6374c48879d79dcd5b374c8159717aebce
parentdd5d29d4253cd94a97013b39c4512269a3df85c3
cfq-iosched: Adjust one function call 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 place.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/cfq-iosched.c