]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Thu, 23 Apr 2020 14:17:28 +0000 (15:17 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Apr 2020 15:42:11 +0000 (11:42 -0400)
commit9ef7a5a5303cf9b7c1d8ff7d96a543e3639c389d
treed3a46b059cf2d243199420a4a9a891ce63044c9c
parent534bd6e90520f5d5192f982482e14dfa592e3916
drm/amd/display: remove redundant assignment to variable ret

The variable ret 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