]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: remove redundant flush_delayed_work
authorJingwen Chen <Jingwen.Chen2@amd.com>
Mon, 18 Jan 2021 02:30:36 +0000 (10:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Jan 2021 21:38:17 +0000 (16:38 -0500)
commitd9b524e0199631748141339144aa61b497b9a8c8
treeda8cd982a508e1564fb20ceae5ef91c227727163
parentc76970828498b88a3a559ce1c39f307564b25d20
drm/amd/amdgpu: remove redundant flush_delayed_work

When using cancel_delayed_work_sync, there's no need
to flush_delayed_work first. This sequence can lead to
a redundant loop of work executing.

Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c