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)
commitad36d71b3f5293fd0ab7be6c8755ba0cc78bf528
tree68ae1ad30df92217cc46014b05e80a5cc148ab3d
parentef91e8b5c885e5985b176fcc04eaefe1f162d7f6
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