This patchset intends to deal with a couple of warnings in the AMD graphic drivers. All warnings were generated with Clang and W=1 flag. Maíra Canal (10): drm/amdgpu: Change amdgpu_ras_block_late_init_default function scope drm/amdgpu: Remove tmp unused variable drm/amdgpu: Remove unused get_umc_v8_7_channel_index function drm/amd/display: Remove unused temp variable drm/amd/display: Remove unused dcn316_smu_set_voltage_via_phyclk function drm/amd/display: Remove vupdate_int_entry definition drm/amd/display: Remove unused dmub_outbox_irq_info_funcs variable drm/amd/display: Remove unused variable drm/amd/display: Add missing prototypes to dcn201_init drm/amd/display: Turn global functions into static functions drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 2 +- drivers/gpu/drm/amd/amdgpu/dce_v6_0.c | 4 +--- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c | 4 +--- drivers/gpu/drm/amd/amdgpu/umc_v8_7.c | 7 ------- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 4 ++-- .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +- .../dc/clk_mgr/dcn10/rv1_clk_mgr_vbios_smu.c | 3 ++- .../display/dc/clk_mgr/dcn316/dcn316_clk_mgr.c | 2 +- .../amd/display/dc/clk_mgr/dcn316/dcn316_smu.c | 18 +----------------- .../gpu/drm/amd/display/dc/core/dc_resource.c | 2 +- .../amd/display/dc/dcn10/dcn10_hw_sequencer.c | 3 --- .../drm/amd/display/dc/dcn201/dcn201_init.c | 1 + .../display/dc/irq/dcn20/irq_service_dcn20.c | 2 +- .../display/dc/irq/dcn201/irq_service_dcn201.c | 5 ----- .../display/dc/irq/dcn21/irq_service_dcn21.c | 14 -------------- .../display/dc/irq/dcn30/irq_service_dcn30.c | 2 +- .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 5 +---- 17 files changed, 15 insertions(+), 65 deletions(-) -- 2.35.1