drm/amdgpu: drop extraneous hw_status update
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Mar 2021 21:05:23 +0000 (17:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:36:36 +0000 (23:36 -0400)
We set the same variable a few lines above.  Drop the duplicate
setting.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 4e7bbad..0f82c5d 100644 (file)
@@ -2740,7 +2740,6 @@ static int amdgpu_device_ip_suspend_phase2(struct amdgpu_device *adev)
                                }
                        }
                }
-               adev->ip_blocks[i].status.hw = false;
        }
 
        return 0;