Function 'bfq_entity_to_bfqq' is declared twice, so remove the repeated declaration. Cc: Jens Axboe <axboe@xxxxxxxxx> Cc: Paolo Valente <paolo.valente@xxxxxxxxxx> Signed-off-by: Shaokun Zhang <zhangshaokun@xxxxxxxxxxxxx> --- 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