linux/drivers/gpu/drm/amd/display
Tom Rix 025723e059 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: 25879d7b49 ("drm/amd/display: Clean FPGA code in dc")
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>
2023-06-09 10:54:00 -04:00
..
amdgpu_dm drm/amd/display: Have Payload Properly Created After Resume 2023-06-09 10:42:51 -04:00
dc drm/amd/display: remove unused variables res_create_maximus_funcs and debug_defaults_diags 2023-06-09 10:54:00 -04:00
dmub drm/amd/display: cache trace buffer size 2023-06-09 10:44:22 -04:00
include drm/amd/display: Convert connector signal id to string 2023-06-09 09:39:41 -04:00
modules drm/amd/display: set variable custom_backlight_curve0 storage-class-specifier to static 2023-06-09 09:23:18 -04:00
Kconfig drm/amdgpu/display: Enable DC_FP for LoongArch 2023-06-09 09:36:48 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_HDCP 2023-03-07 14:22:39 -05:00
TODO