Skip to contentSkip to conversation

block: remove the declaration of elevator_init_mq function

PATCH Applied chengkaitao 3 participants 3 messages Nov 18, 2025 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: remove the declaration of elevator_init_mq function

From: Chengkaitao <[email protected]>

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.

---
 block/elevator.h | 1 -
 1 file changed, 1 deletion(-)
block/elevator.h +0 -1
index c4d20155065e..07c521c8cfec 100644
@@ -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
Signature · 1 line
2.50.1 (Apple Git-155)
maintainer Applied
#2 lore raw
In reply to chengkaitao
Quoted 5 lines · chengkaitao

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,

Signature · 1 line
Jens Axboe