]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/vcn: Remove unnecessary check
authorRodrigo Siqueira <siqueira@igalia.com>
Sat, 16 Aug 2025 16:27:27 +0000 (10:27 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 Aug 2025 21:06:19 +0000 (17:06 -0400)
commit3856a53db6620f29dda1b42af678698c0ccc6504
tree6e9be9c3a1e614cd2a5205f5307531d7b4456483
parent027e7acc7e17802ebf28e1edb88a404836ad50d6
drm/amdgpu/vcn: Remove unnecessary check

The function amdgpu_vcn_sysfs_reset_mask_init already returns 0, which
makes the check of the result unnecessary in the vcn_v4_0_3_sw_init().
Just return the amdgpu_vcn_sysfs_reset_mask_init directly.

Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c