]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1067b248fe18d5923988a89f4796c783caf0b1e3
tree76f30e99fc67ab0d02c5cd29f3700fa654a1bbc0
parentebb33e6a2a1a0e275b7d31f74926bb3dc5a90b7f
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