From: Chengkaitao Date: Tue, 18 Nov 2025 01:26:44 +0000 (+0800) Subject: block: remove the declaration of elevator_init_mq function X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e1d91c2582d2b60d62616649546bb132fff566b;p=thirdparty%2Flinux.git block: remove the declaration of elevator_init_mq function 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 Reviewed-by: Chaitanya Kulkarni Signed-off-by: Jens Axboe --- diff --git a/block/elevator.h b/block/elevator.h index 3ee1d494f48af..a9d092c5a9e85 100644 --- a/block/elevator.h +++ b/block/elevator.h @@ -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