]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23b84a789c5433894b74feea2f9c35af6235185d
tree8727c39dcab966530457ac5dedd7f640a7c517f6
parentd3d8c4eeba9e458031ddef665093dbba3706439c
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