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)
commit1cf417530375b475d4a8a9f18dc0867f91e52d78
treea2527f6374c48879d79dcd5b374c8159717aebce
parentd609af3a1397511a7a2c213f9f855fa82df771ee
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