drm/amd/display: Remove unused variable
authorMaíra Canal <maira.canal@usp.br>
Tue, 22 Feb 2022 13:16:59 +0000 (10:16 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Feb 2022 19:03:20 +0000 (14:03 -0500)
commitf3067604b8de052c6a1c65eed3305cb6f3f9eb18
tree73bedd07b9356f97373da3181009c188a402e6d2
parent3a4bfa509eb0f73daa2e30e409ed907f2a7db82b
drm/amd/display: Remove unused variable

Remove the variable clamshell_closed from the function
dcn10_align_pixel_clocks.

This was pointed by clang with the following warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2063:7:
warning: variable 'clamshell_closed' set but not used
[-Wunused-but-set-variable]
    bool clamshell_closed = false;
         ^

Signed-off-by: Maíra Canal <maira.canal@usp.br>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c