drm/amd/display: Remove redundant initialization of variable eng_id
authorColin Ian King <colin.king@canonical.com>
Fri, 6 Aug 2021 11:16:15 +0000 (12:16 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Aug 2021 20:12:27 +0000 (16:12 -0400)
commited7c28c77103e1441ed22eb492b26b9b035403f7
tree2470792e0858773c85b4090a7904fe1fa6e8aaab
parent420c81c84b596984e0afb6e8b884dc67ddfa13f6
drm/amd/display: Remove redundant initialization of variable eng_id

The variable eng_id is being initialized with a value that is never
read, it is being re-assigned on the next statment. The assignment
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_enc_cfg.c