Skip to content
Commit 6d9f4cf1 authored by Yu Kuai's avatar Yu Kuai Committed by Jens Axboe
Browse files

elevator: remove redundant code in elv_unregister_queue()



"elevator_queue *e" is already declared and initialized in the beginning
of elv_unregister_queue().

Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221019121518.3865235-2-yukuai1@huaweicloud.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 074501bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment