Re: [PATCH] drm/amd/display: remove unused average_render_time_in_us and i variables

2023-03-31 Thread Hamza Mahfooz
On 3/30/23 20:10, Tom Rix wrote: 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;

[PATCH] drm/amd/display: remove unused average_render_time_in_us and i variables

2023-03-31 Thread Tom Rix
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

[PATCH] drm/amd/display: remove unused average_render_time_in_us and i variables

2023-03-31 Thread Tom Rix
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