On Mon, 27 Mar 2023, Caio Novais <caionovais@xxxxxx> wrote: > This patchset cleans the code removing unused variables and one unused > function. > > Caio Novais (12): > Remove unused variable 'r' > Remove unused variable 'value0' > Remove unused variable 'pixel_width' > Remove unused variable 'hubp' > Remove unused variable 'speakers' > Remove unused variable 'mc_vm_apt_default' > Remove unused variable 'optc' > Remove two unused variables 'speakers' and 'channels' and remove > unused function 'speakers_to_channels' > Remove two unused variables 'is_pipe_split_expected' and 'state' > Remove unused variable 'cursor_bpp' > Remove unused variable 'scl_enable' > Remove two unused variables 'result_write_min_hblank' and > 'hblank_size' Curious, how did you create this? It does not match the patches. BR, Jani. > > drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 8 ---- > .../amd/display/dc/dcn10/dcn10_link_encoder.c | 3 -- > .../drm/amd/display/dc/dcn201/dcn201_dpp.c | 6 --- > .../drm/amd/display/dc/dcn201/dcn201_hwseq.c | 2 - > .../gpu/drm/amd/display/dc/dcn30/dcn30_afmt.c | 2 - > .../gpu/drm/amd/display/dc/dcn30/dcn30_hubp.c | 4 -- > .../drm/amd/display/dc/dcn30/dcn30_hwseq.c | 3 -- > .../gpu/drm/amd/display/dc/dcn31/dcn31_apg.c | 39 ------------------- > .../drm/amd/display/dc/dcn32/dcn32_resource.c | 4 -- > .../display/dc/dcn32/dcn32_resource_helpers.c | 4 -- > .../dc/dml/dcn31/display_rq_dlg_calc_31.c | 2 - > .../dc/link/protocols/link_dp_capability.c | 7 ---- > 12 files changed, 84 deletions(-) -- Jani Nikula, Intel Open Source Graphics Center