diff options
| author | Tom Rix <[email protected]> | 2023-05-23 11:49:37 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-06-09 14:54:00 +0000 |
| commit | 025723e059ab454823e6aa21277976178f23d120 (patch) | |
| tree | 9cf7978de6381efc02f2a7054c3a64a0d6d6c3ae /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amd/display: avoid calling missing .resync_fifo_dccg_dio() (diff) | |
| download | kernel-025723e059ab454823e6aa21277976178f23d120.tar.gz kernel-025723e059ab454823e6aa21277976178f23d120.zip | |
drm/amd/display: remove unused variables res_create_maximus_funcs and debug_defaults_diags
gcc with W=1 reports
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:1069:43: error:
‘res_create_maximus_funcs’ defined but not used [-Werror=unused-const-variable=]
1069 | static const struct resource_create_funcs res_create_maximus_funcs = {
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_resource.c:727:38: error:
‘debug_defaults_diags’ defined but not used [-Werror=unused-const-variable=]
727 | static const struct dc_debug_options debug_defaults_diags = {
| ^~~~~~~~~~~~~~~~~~~~
These variables are not used so remove them.
Fixes: 25879d7b4986 ("drm/amd/display: Clean FPGA code in dc")
Signed-off-by: Tom Rix <[email protected]>
Signed-off-by: Hamza Mahfooz <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
