]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove useless else if
authorTian Tao <tiantao6@hisilicon.com>
Mon, 21 Dec 2020 11:16:35 +0000 (19:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:34:06 +0000 (11:34 -0500)
commit362313edac483dda9f838716931caf0aba976a0c
tree93c244783fac7436167e610da09d7fd7cdbd08aa
parentf5cdaf4941c4679496cea4399fd1899fca8c939c
drm/amd/display: remove useless else if

Fix the following coccinelle report:
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c:1357:6-8:
WARNING: possible condition with no effect (if == else)

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c