Skip to content
Commit ac857e0d authored by Filippo Muzzini's avatar Filippo Muzzini Committed by Jens Axboe
Browse files

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: default avatarFilippo Muzzini <filippo.muzzini@outlook.it>
Signed-off-by: default avatarPaolo Valente <paolo.valente@linaro.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8abfa4d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment