[PATCH] block, bfq: cleanup the repeated declaration

Subsystems: bfq i/o scheduler, block layer, the rest

STALE1841d LANDED

Landed in mainline as 1e294970fc00 on 2021-08-25.

2 messages, 2 authors, 2021-08-25 · open the first message on its own page

[PATCH] block, bfq: cleanup the repeated declaration

From: Shaokun Zhang <hidden>
Date: 2021-08-25 06:21:09

Function 'bfq_entity_to_bfqq' is declared twice, so remove the
repeated declaration and blank line.

Cc: Paolo Valente <redacted>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Shaokun Zhang <redacted>
---
 block/bfq-iosched.h | 2 --
 1 file changed, 2 deletions(-)
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 385e28a843d1..a73488eec8a4 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -955,8 +955,6 @@ struct bfq_group {
 };
 #endif
 
-struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity);
-
 /* --------------- main algorithm interface ----------------- */
 
 #define BFQ_SERVICE_TREE_INIT	((struct bfq_service_tree)		\
-- 
2.7.4

Re: [PATCH] block, bfq: cleanup the repeated declaration

From: Jens Axboe <axboe@kernel.dk>
Date: 2021-08-25 12:46:00

On 8/25/21 12:19 AM, Shaokun Zhang wrote:
Function 'bfq_entity_to_bfqq' is declared twice, so remove the
repeated declaration and blank line.
Applied, thanks.

-- 
Jens Axboe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help