summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJinlong Chen <nickyc975@zju.edu.cn>2022-11-22 17:21:26 +0300
committerJens Axboe <axboe@kernel.dk>2022-11-23 16:48:20 +0300
commit4284354758d67cf77ab2a4494e28d4c05fb83074 (patch)
treeeeba60795c6ace7a64c1904f010a9d1b1899ab3b /block
parentf69b5e8f356e4e57e94b806ca1dcb9771933bb9c (diff)
downloadlinux-4284354758d67cf77ab2a4494e28d4c05fb83074.tar.xz
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>
Diffstat (limited to 'block')
-rw-r--r--block/elevator.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/elevator.c b/block/elevator.c
index 5287b39cd7a9..599413620558 100644
--- a/block/elevator.c
+++ b/block/elevator.c
@@ -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);