]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf70dbb38c9c85bd880a8832f464b9b990d76c16
tree3c84a08832b3f5b4c50655e1915551ecca92d27b
parentb1a5b6b7611743f7c6f4f19591da7dd7e1e8446a
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