]> 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)
commit22d24cfe8a8dc7e74a005f1988e8942a5f5429ec
treea2527f6374c48879d79dcd5b374c8159717aebce
parentb26e380a33840b7cb5be5f764ad18c3122c9d1cc
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