block: avoid setting none scheduler if it's already none
There's no reason to freeze queue and remove scheduler if there's no scheduler already. Signed-off-by:Aleksei Zakharov <zakharov.a.g@yandex.ru> Signed-off-by:
Jens Axboe <axboe@kernel.dk>
parent
b7143fe6
Please register or sign in to comment