diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-09-09 21:41:50 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-09-10 16:32:09 -0600 |
commit | bc3b1e9e7c50e1de0f573eea3871db61dd4787de (patch) | |
tree | 9dc4a67983807794ecdf913e0aaa78851725d96d /block/bfq-cgroup.c | |
parent | 73aeab373557fa6ee4ae0b742c6211ccd9859280 (diff) |
block, bfq: merge bfq_release_process_ref() into bfq_put_cooperator()
Because bfq_put_cooperator() is always followed by
bfq_release_process_ref().
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240909134154.954924-4-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bfq-cgroup.c')
-rw-r--r-- | block/bfq-cgroup.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/bfq-cgroup.c b/block/bfq-cgroup.c index 9fb9f3533150..e831aedb4643 100644 --- a/block/bfq-cgroup.c +++ b/block/bfq-cgroup.c @@ -736,7 +736,6 @@ static void bfq_sync_bfqq_move(struct bfq_data *bfqd, */ bfq_put_cooperator(sync_bfqq); bic_set_bfqq(bic, NULL, true, act_idx); - bfq_release_process_ref(bfqd, sync_bfqq); } } |