diff options
author | Filippo Muzzini <filippo.muzzini@outlook.it> | 2018-05-31 15:23:13 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-05-31 08:48:32 -0600 |
commit | ac857e0d54c84edc1fdc578153f4f728c69c0e29 (patch) | |
tree | f175026634ac7f611c3a1212b3dffe892ffe244b /kernel | |
parent | 8abfa4d6fd1537a570d99c52e9a683b759c27a45 (diff) | |
download | lwn-ac857e0d54c84edc1fdc578153f4f728c69c0e29.tar.gz lwn-ac857e0d54c84edc1fdc578153f4f728c69c0e29.zip |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions