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)
commit4b31b1720704bf058b2f3df1d354ac23a669c6f5
treef2e59adb6f3188e699d08b540ae4ce943e27f9f4
parent243a8f41dbc8da54e78e30cb7082f1d807329c42
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: 12e2b2d4c65f ("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