diff options
author | Tom Rix <trix@redhat.com> | 2023-03-30 20:10:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-04-11 18:03:22 -0400 |
commit | 583da1b82ac51f0631b6ab699153f16b241dd40e (patch) | |
tree | 1d46bd49d49211001ce7b357552b85866f1a0a79 /drivers/gpu/drm/amd/amdgpu/mes_v11_0.c | |
parent | 63a4d258ae1b975cd0dd1f0623f50c119953abda (diff) | |
download | linux-583da1b82ac51f0631b6ab699153f16b241dd40e.tar.gz linux-583da1b82ac51f0631b6ab699153f16b241dd40e.tar.bz2 linux-583da1b82ac51f0631b6ab699153f16b241dd40e.zip |
drm/amd/display: remove unused average_render_time_in_us and i variables
clang with W=1 reports
drivers/gpu/drm/amd/amdgpu/../display/modules/freesync/freesync.c:1132:15: error: variable
'average_render_time_in_us' set but not used [-Werror,-Wunused-but-set-variable]
unsigned int average_render_time_in_us = 0;
^
This variable is not used so remove it, which caused i to be unused so remove that as well.
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_v11_0.c')
0 files changed, 0 insertions, 0 deletions