mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
elevator: remove an outdated comment in elevator_change
mq is no longer a special case. Signed-off-by: Jinlong Chen <nickyc975@zju.edu.cn> Reviewed-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/cbf47824fc726440371e74c867bf635ae1b671a3.1669126766.git.nickyc975@zju.edu.cn Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
f69b5e8f35
commit
4284354758
@ -721,9 +721,6 @@ static int elevator_change(struct request_queue *q, const char *elevator_name)
|
||||
if (!blk_queue_registered(q))
|
||||
return -ENOENT;
|
||||
|
||||
/*
|
||||
* Special case for mq, turn off scheduling
|
||||
*/
|
||||
if (!strncmp(elevator_name, "none", 4)) {
|
||||
if (q->elevator)
|
||||
elevator_disable(q);
|
||||
|
Loading…
Reference in New Issue
Block a user