aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMaíra Canal <mairacanal@riseup.net>2022-07-14 13:45:00 -0300
committerAlex Deucher <alexander.deucher@amd.com>2022-07-25 09:31:02 -0400
commit4f5a17b221cc48d66cce13fe1531ca8fc99078b9 (patch)
tree4c25fec7ac9f9c59410503b3d60ad56a07f5a633 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentd3e19f76121178420c3efc9688adfd5a448996e0 (diff)
downloadlinux-4f5a17b221cc48d66cce13fe1531ca8fc99078b9.tar.gz
linux-4f5a17b221cc48d66cce13fe1531ca8fc99078b9.tar.bz2
linux-4f5a17b221cc48d66cce13fe1531ca8fc99078b9.zip
drm/amd/display: Remove unused NumberOfStates variable
Remove the unused unsigned int NumberOfStates from the file, which was declared but never hooked up. This was pointed by clang with the following warning: drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/display_mode_vba_32.c:33:27: warning: unused variable 'NumberOfStates' [-Wunused-const-variable] static const unsigned int NumberOfStates = DC__VOLTAGE_STATES; ^ 1 warning generated. Reviewed-by: André Almeida <andrealmeid@igalia.com> Signed-off-by: Maíra Canal <mairacanal@riseup.net> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions