[PATCH] block: remove the declaration of elevator_init_mq function

chengkaitao posted 1 patch 2 weeks ago
block/elevator.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] block: remove the declaration of elevator_init_mq function
Posted by chengkaitao 2 weeks ago
From: Chengkaitao <chengkaitao@kylinos.cn>

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>
---
 block/elevator.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/block/elevator.h b/block/elevator.h
index c4d20155065e..07c521c8cfec 100644
--- a/block/elevator.h
+++ b/block/elevator.h
@@ -147,7 +147,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
-- 
2.50.1 (Apple Git-155)
Re: [PATCH] block: remove the declaration of elevator_init_mq function
Posted by Jens Axboe 1 week, 6 days ago
On Tue, 18 Nov 2025 09:26:44 +0800, chengkaitao wrote:
> 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.
> 
> 

Applied, thanks!

[1/1] block: remove the declaration of elevator_init_mq function
      commit: 8e1d91c2582d2b60d62616649546bb132fff566b

Best regards,
-- 
Jens Axboe
Re: [PATCH] block: remove the declaration of elevator_init_mq function
Posted by Chaitanya Kulkarni 2 weeks ago
On 11/17/25 17:26, chengkaitao wrote:
> From: Chengkaitao<chengkaitao@kylinos.cn>
>
> 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>
> ---

Looks good.

Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>

-ck