drm/amd: remove possible condition with no effect (if == else)
authorBernard Zhao <bernard@vivo.com>
Tue, 23 Aug 2022 07:00:44 +0000 (00:00 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:18 +0000 (13:35 -0400)
commitb2243cef56befeaa45a30e783265caf0c8e01ba1
treebfe35fa214add90f398f884734e8d520b29efaef
parentd200a64305f7072db918e68b8caef0b33e55ef05
drm/amd: remove possible condition with no effect (if == else)

This patch fix cocci warning:
drivers/gpu/drm/amd/display/dc/core/dc.c:3335:2-4: WARNING:
possible condition with no effect (if == else).

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c