drm/amd/display: Remove unused local variables and function
authorArthur Grillo <arthurgrillo@riseup.net>
Fri, 17 Feb 2023 18:14:09 +0000 (15:14 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 23 Feb 2023 22:36:00 +0000 (17:36 -0500)
commit4f101d5710a84f334b05a96713000ce8dfd4d598
tree362b1e7499d60152c147fac598ae43d563c2f52d
parent4d3ed6326449ddb1356544bf838024eb232dd315
drm/amd/display: Remove unused local variables and function

Remove a couple of local variables that are only set but never used,
also remove an static utility function that is never used in consequence
of the variable removal.

This decrease the number of -Wunused-but-set-variable warnings.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_apg.c