]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
block: remove the declaration of elevator_init_mq function
authorChengkaitao <chengkaitao@kylinos.cn>
Tue, 18 Nov 2025 01:26:44 +0000 (09:26 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Nov 2025 23:27:19 +0000 (16:27 -0700)
In commit 1e44bedbc921 ("block: unifying elevator change"), the
elevator_init_mq function was deleted, but its declaration in elevator.h
was overlooked. This patch fixes it.

Signed-off-by: Chengkaitao <chengkaitao@kylinos.cn>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.h

index 3ee1d494f48afc3b5f9e05f634aca30d4566551d..a9d092c5a9e855c7f6a46cfb3226041188ab8aa8 100644 (file)
@@ -171,7 +171,6 @@ extern bool elv_attempt_insert_merge(struct request_queue *, struct request *,
                                     struct list_head *);
 extern struct request *elv_former_request(struct request_queue *, struct request *);
 extern struct request *elv_latter_request(struct request_queue *, struct request *);
-void elevator_init_mq(struct request_queue *q);
 
 /*
  * io scheduler registration