drm/amd/display: remove redundant assignment to variable v_total
authorColin Ian King <colin.king@canonical.com>
Mon, 2 Dec 2019 15:47:38 +0000 (15:47 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2019 22:55:08 +0000 (17:55 -0500)
commita501e22c8e36934b2d901b039b1c59c948886c90
treeae473dc9f8c292deb3005d5f421fa10c27db3d48
parentf7a8b4739d94f05d4bb84b62d43157dd1bc3bc32
drm/amd/display: remove redundant assignment to variable v_total

The variable v_total 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/modules/freesync/freesync.c