]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/amdgpu/vcn: remove unused code in vcn_v4_0.c
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>
Mon, 25 Aug 2025 19:15:42 +0000 (15:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Aug 2025 14:07:05 +0000 (10:07 -0400)
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>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c

index 1785786a72f8e6636ea8821184dc0b47e78f4f87..d0d27790b73b1e73293e37d8941974a5ce87f648 100644 (file)
@@ -1621,7 +1621,6 @@ static int vcn_v4_0_stop(struct amdgpu_vcn_inst *vinst)
 
        if (adev->pg_flags & AMD_PG_SUPPORT_VCN_DPG) {
                vcn_v4_0_stop_dpg_mode(vinst);
-               r = 0;
                goto done;
        }