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>
This commit is contained in:
Arthur Grillo 2023-02-13 17:49:22 -03:00 • committed by Alex Deucher
commit 60b07cf5d3
2 changed files with 8 additions and 0 deletions