diff options
author | Yu Kuai <yukuai3@huawei.com> | 2022-01-29 02:59:22 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-18 14:13:00 +0100 |
commit | 43a4b1fee098bd38eed9c334d0e0df221ecdf719 (patch) | |
tree | 35a39e3ecc37b38753908a60e75944ef823b76da /block/bfq-iosched.h | |
parent | block/bfq_wf2q: correct weight to ioprio (diff) | |
download | linux-43a4b1fee098bd38eed9c334d0e0df221ecdf719.tar.xz linux-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.h | 1 |
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); |