drm/amd: remove possible condition with no effect (if == else)
authorBernard Zhao <bernard@vivo.com>
Tue, 23 Aug 2022 06:41:31 +0000 (23:41 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 25 Aug 2022 17:35:18 +0000 (13:35 -0400)
commita9c5e9c82039cf9f12bcb427160a2163df299b1f
tree8727c39dcab966530457ac5dedd7f640a7c517f6
parentb2243cef56befeaa45a30e783265caf0c8e01ba1
drm/amd: remove possible condition with no effect (if == else)

This patch fix cocci warning:
drivers/gpu/drm/amd/display/dc/dcn314/dcn314_resource.c:1816:6-8:
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/dcn314/dcn314_resource.c