]> git.baikalelectronics.ru Git - kernel.git/commit
block, bfq: remove the removal of 'next' rq in bfq_requests_merged
authorFilippo Muzzini <filippo.muzzini@outlook.it>
Thu, 31 May 2018 13:23:13 +0000 (15:23 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 31 May 2018 14:48:32 +0000 (08:48 -0600)
commiteb339a8e1d7fac53583d005de188e032d5fdbfa8
treef175026634ac7f611c3a1212b3dffe892ffe244b
parentaafcc205b923cee991a381aa14ae2e4fa0a796e3
block, bfq: remove the removal of 'next' rq in bfq_requests_merged

Since bfq_finish_request() is always called on the request 'next',
after bfq_requests_merged() is finished, and bfq_finish_request()
removes 'next' from its bfq_queue if needed, it isn't necessary to do
such a removal in advance in bfq_merged_requests().

This commit removes such a useless 'next' removal.

Signed-off-by: Filippo Muzzini <filippo.muzzini@outlook.it>
Signed-off-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bfq-iosched.c