drm/amd/display: Make variables declaration inside ifdef guard
authorArthur Grillo <arthurgrillo@riseup.net>
Mon, 13 Feb 2023 20:49:22 +0000 (17:49 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Feb 2023 03:24:45 +0000 (22:24 -0500)
commit60b07cf5d3462ec0183d463b43619e98bc63c951
treeef0b59e3b2a3ed2914aa3695fbab67b04c73e063
parent01543dcf99bdaba32178c7b40998778682f0305d
drm/amd/display: Make variables declaration inside ifdef guard

Make variables declaration inside ifdef guard, as they are only used
inside the same ifdef guard. This remove some of the
-Wunused-but-set-variable warning.

Signed-off-by: Arthur Grillo <arthurgrillo@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn31/display_mode_vba_31.c
drivers/gpu/drm/amd/display/dc/dml/dcn314/display_mode_vba_314.c