]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove redundant initialization of variable result
authorColin Ian King <colin.king@canonical.com>
Thu, 11 Mar 2021 16:34:17 +0000 (16:34 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:31:06 +0000 (23:31 -0400)
commitb2d7d6ce3c242aff581e6f431979517e3ddb3189
tree5d2792145bc2f2fcf8039f051007ad2e24605385
parent56f3f98a533ed39ae8eb2c6fe4b7321d854240a5
drm/amd/display: remove redundant initialization of variable result

The variable result is being initialized with a value that is
never read and it is being updated later with a new value.  The
initialization is redundant and can be removed.

Addresses-Coverity: ("Unused value")
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_link_dp.c