drm/amd/display: remove variable active_disp
authorColin Ian King <colin.king@canonical.com>
Thu, 3 Jun 2021 12:42:31 +0000 (13:42 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Jun 2021 16:40:01 +0000 (12:40 -0400)
commitc385d41604eeeab738281792e65238ee41528f5e
tree3c84a08832b3f5b4c50655e1915551ecca92d27b
parent7bee75a2ba822c9e573d10c411f6ac233c4c3790
drm/amd/display: remove variable active_disp

The variable active_disp is being initialized with a value that
is never read, it is being re-assigned immediately afterwards.
Clean up the code by removing the need for variable active_disp.

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/bios/bios_parser_helper.c