drm/amdgpu: remove dead code in cik_program_aspm
Subsystems (2)
PATCH 28/28 drm/amdgpu: remove dead code in cik_program_aspm
Since disable_l1 is false, the else branch cannot be reached.
Signed-off-by Jesse Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/cik.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/cik.c +0 -3
@@ -1819,9 +1819,6 @@ static void cik_program_aspm(struct amdgpu_device *adev)WREG32_SMC (ixMPLL_BYPASSCLK_SEL, data); } } - }else { -if (orig != data) -WREG32_PCIE (ixPCIE_LC_CNTL, data); } orig = data =RREG32_PCIE (ixPCIE_CNTL2);
Signature · 1 line
2.25.1