diff options
author | Yu Kuai <yukuai3@huawei.com> | 2024-09-09 21:41:52 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-09-10 16:32:09 -0600 |
commit | e61e002a67da9ec36571af743c94a968cf1ce116 (patch) | |
tree | e129debcce8183a829eb28a8e72a1fded80683fa /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | 553a606c25f8ff5c518c7fcf488dd4dd5fbb4795 (diff) |
block, bfq: remove local variable 'split' in bfq_init_rq()
The local variable is used to call bfq_bfqq_resume_state() later,
since 'bfqd->lock' is held, and bfqq status will not change between
setting 'split' and calling bfq_bfqq_resume_state(), move forward
bfq_bfqq_resume_state() so that 'split' can be removed. There are no
functional chagnes.
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Link: https://lore.kernel.org/r/20240909134154.954924-6-yukuai1@huaweicloud.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions