Skip to content

Commit 010219c

Browse files
davidwuAMDalexdeucher
authored andcommitted
drm/amdgpu/vcn: remove unused code in vcn_v4_0.c
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 14570c6 commit 010219c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,6 @@ static int vcn_v4_0_stop(struct amdgpu_vcn_inst *vinst)
16211621

16221622
if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) {
16231623
vcn_v4_0_stop_dpg_mode(vinst);
1624-
r = 0;
16251624
goto done;
16261625
}
16271626

0 commit comments

Comments
 (0)