From: Alex Deucher Date: Mon, 15 Mar 2021 21:05:23 +0000 (-0400) Subject: drm/amdgpu: drop extraneous hw_status update X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2d28b70ec321d87327ef616664f6d409e4eccd49;p=linux.git drm/amdgpu: drop extraneous hw_status update We set the same variable a few lines above. Drop the duplicate setting. Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 4e7bbad0f00b..0f82c5d21237 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2740,7 +2740,6 @@ static int amdgpu_device_ip_suspend_phase2(struct amdgpu_device *adev) } } } - adev->ip_blocks[i].status.hw = false; } return 0;