drm/amd/display: remove redundant initialization of variable result
authorColin Ian King <colin.king@canonical.com>
Wed, 1 Jul 2020 14:59:05 +0000 (15:59 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 Jul 2020 16:02:58 +0000 (12:02 -0400)
commitb4237ebafaced79b3ff38259494766849befb30b
treec7176bd2a9d63e2bc23882b2919fd4aa39683822
parent2a80f883988862dc2c52f79291ed38388246cf36
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_hwss.c