[PATCH] block, bfq: remove the repeated declaration

DORMANTno replies

From: Shaokun Zhang <hidden>
Date: 2021-05-29 07:35:03
Subsystem: bfq i/o scheduler, block layer, the rest · Maintainers: Yu Kuai, Jens Axboe, Linus Torvalds

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

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Paolo Valente <redacted>
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 99c2a3cb081e..ab72fb1df74d 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help