summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorShaokun Zhang <zhangshaokun@hisilicon.com>2021-08-25 14:19:51 +0800
committerJens Axboe <axboe@kernel.dk>2021-08-25 06:45:33 -0600
commit1e294970fc00f45c1f17fb442c26a7e3fc9789b1 (patch)
tree08b1980229b9b0af4230f37ecf383e27155e580d /block
parentcc40b7225151f611ef837f6403cfaeadc7af214a (diff)
downloadlinux-1e294970fc00f45c1f17fb442c26a7e3fc9789b1.tar.bz2
block, bfq: cleanup the repeated declaration
Function 'bfq_entity_to_bfqq' is declared twice, so remove the repeated declaration and blank line. Cc: Paolo Valente <paolo.valente@linaro.org> Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com> Link: https://lore.kernel.org/r/1629872391-46399-1-git-send-email-zhangshaokun@hisilicon.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/bfq-iosched.h2
1 files changed, 0 insertions, 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) \