]> git.baikalelectronics.ru Git - kernel.git/commit
amdgpu_kms: Remove unnecessary condition check
authorAurabindo Pillai <mail@aurabindo.in>
Tue, 7 Apr 2020 18:26:18 +0000 (14:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 9 Apr 2020 14:43:18 +0000 (10:43 -0400)
commit8dc22f775eb7278b1cd8cb68aa3f4ab6aca643b3
tree68ae1ad30df92217cc46014b05e80a5cc148ab3d
parent37e59148be63e89128b07b4c8ba9907d6852bc55
amdgpu_kms: Remove unnecessary condition check

Execution will only reach here if the asserted condition is true.
Hence there is no need for the additional check.

Signed-off-by: Aurabindo Pillai <mail@aurabindo.in>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c