diff options
author | Chengming Zhou <zhouchengming@bytedance.com> | 2023-04-06 16:50:49 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-07 00:17:32 +0200 |
commit | d1023165eef83dace7cc6299af904f26272baaca (patch) | |
tree | 403f245c95b480759d909c2c990b928b8dd6dc15 /block/blk-cgroup.h | |
parent | block, bfq: remove BFQ_WEIGHT_LEGACY_DFL (diff) | |
download | linux-d1023165eef83dace7cc6299af904f26272baaca.tar.xz linux-d1023165eef83dace7cc6299af904f26272baaca.zip |
blk-cgroup: delete cpd_bind_fn of blkcg_policy
cpd_bind_fn is just used for update default weight when block
subsys attached to a hierarchy. No any policy need it anymore.
Signed-off-by: Chengming Zhou <zhouchengming@bytedance.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20230406145050.49914-3-zhouchengming@bytedance.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-cgroup.h')
-rw-r--r-- | block/blk-cgroup.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-cgroup.h b/block/blk-cgroup.h index 9c5078755e5e..26ce62663e27 100644 --- a/block/blk-cgroup.h +++ b/block/blk-cgroup.h @@ -175,7 +175,6 @@ struct blkcg_policy { blkcg_pol_alloc_cpd_fn *cpd_alloc_fn; blkcg_pol_init_cpd_fn *cpd_init_fn; blkcg_pol_free_cpd_fn *cpd_free_fn; - blkcg_pol_bind_cpd_fn *cpd_bind_fn; blkcg_pol_alloc_pd_fn *pd_alloc_fn; blkcg_pol_init_pd_fn *pd_init_fn; |