drm/amd/display: Remove unnecessary NULL check
authorEryk Brol <eryk.brol@amd.com>
Tue, 8 Dec 2020 17:52:36 +0000 (12:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Dec 2020 20:02:12 +0000 (15:02 -0500)
commitcbac53f7fc90754b898e79ab2d5c11052ce1b640
tree76f30e99fc67ab0d02c5cd29f3700fa654a1bbc0
parente82632356d531dbc575377d594e85e65aa1293f9
drm/amd/display: Remove unnecessary NULL check

[Why]
new_crtc_state is already dereferenced earlier in the function

[How]
Remove the check

Signed-off-by: Eryk Brol <eryk.brol@amd.com>
Acked-by: Bindu Ramamurthy <bindu.r@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c