drm/amdgpu: remove dead code in si_program_aspm
Subsystems (2)
PATCH 12/12 drm/amdgpu: remove dead code in si_program_aspm
The variable disable_l1 is false and execution cannot reach the else branch.
Signed-off-by Jesse Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/si.c | 3 --- 1 file changed, 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/si.c +0 -3
@@ -2598,9 +2598,6 @@ static void si_program_aspm(struct amdgpu_device *adev)WREG32 (SPLL_CNTL_MODE , data); } } - }else { -if (orig != data) -WREG32_PCIE_PORT (PCIE_LC_CNTL , data); } orig = data =RREG32_PCIE (PCIE_CNTL2 );
Signature · 1 line
2.25.1