]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove duplicated comparison expression
authorColin Ian King <colin.king@canonical.com>
Sat, 9 Nov 2019 15:49:21 +0000 (15:49 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:45 +0000 (15:29 -0500)
commit696d92c515e0831cbc6ead532d0408f582381171
treef2e59adb6f3188e699d08b540ae4ce943e27f9f4
parent4a6f0758b325a1ae8ef9971ae79d8beef6769d72
drm/amd/display: remove duplicated comparison expression

There is comparison expression that is duplicated and hence one
of the expressions can be removed.  Remove it.

Addresses-Coverity: ("Same on both sides")
Fixes: 5f27e6394287 ("drm/amd/display: add dcc programming for dual plane")
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c