mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] block: remove the declaration of elevator_init_mq function
@ 2025-11-18  1:26 chengkaitao
  2025-11-18  1:54 ` Chaitanya Kulkarni
  2025-11-18 23:27 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: chengkaitao @ 2025-11-18  1:26 UTC (permalink / raw)
  To: axboe; +Cc: linux-block, linux-kernel, Chengkaitao

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)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: remove the declaration of elevator_init_mq function
  2025-11-18  1:26 [PATCH] block: remove the declaration of elevator_init_mq function chengkaitao
@ 2025-11-18  1:54 ` Chaitanya Kulkarni
  2025-11-18 23:27 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Chaitanya Kulkarni @ 2025-11-18  1:54 UTC (permalink / raw)
  To: chengkaitao, axboe; +Cc: linux-block, linux-kernel, Chengkaitao

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: remove the declaration of elevator_init_mq function
  2025-11-18  1:26 [PATCH] block: remove the declaration of elevator_init_mq function chengkaitao
  2025-11-18  1:54 ` Chaitanya Kulkarni
@ 2025-11-18 23:27 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2025-11-18 23:27 UTC (permalink / raw)
  To: chengkaitao; +Cc: linux-block, linux-kernel, Chengkaitao


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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-18 23:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18  1:26 [PATCH] block: remove the declaration of elevator_init_mq function chengkaitao
2025-11-18  1:54 ` Chaitanya Kulkarni
2025-11-18 23:27 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®