summaryrefslogtreecommitdiff
path: root/block/bfq-iosched.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2022-01-29 09:59:22 +0800
committerJens Axboe <axboe@kernel.dk>2022-02-18 06:13:00 -0700
commit43a4b1fee098bd38eed9c334d0e0df221ecdf719 (patch)
tree35a39e3ecc37b38753908a60e75944ef823b76da /block/bfq-iosched.h
parentbcd2be763252f3a4d5fc4d6008d4d96c601ee74b (diff)
downloadlinux-starfive-43a4b1fee098bd38eed9c334d0e0df221ecdf719.tar.gz
linux-starfive-43a4b1fee098bd38eed9c334d0e0df221ecdf719.tar.bz2
linux-starfive-43a4b1fee098bd38eed9c334d0e0df221ecdf719.zip
block, bfq: cleanup bfq_bfqq_to_bfqg()
Use bfq_group() instead, which do the same thing. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Acked-by: Paolo Valente <paolo.valente@linaro.org> Link: https://lore.kernel.org/r/20220129015924.3958918-2-yukuai3@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-iosched.h')
-rw-r--r--block/bfq-iosched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bfq-iosched.h b/block/bfq-iosched.h
index 72255ec44f8f..3b83e3d1c2e5 100644
--- a/block/bfq-iosched.h
+++ b/block/bfq-iosched.h
@@ -1050,7 +1050,6 @@ extern struct blkcg_policy blkcg_policy_bfq;
for (parent = NULL; entity ; entity = parent)
#endif /* CONFIG_BFQ_GROUP_IOSCHED */
-struct bfq_group *bfq_bfqq_to_bfqg(struct bfq_queue *bfqq);
struct bfq_queue *bfq_entity_to_bfqq(struct bfq_entity *entity);
unsigned int bfq_tot_busy_queues(struct bfq_data *bfqd);
struct bfq_service_tree *bfq_entity_service_tree(struct bfq_entity *entity);