Re: [PATCH 0/7] various '-Wunused-but-set-variable' gcc warning fixes

From: Alex Deucher
Date: Wed Nov 13 2019 - 10:24:23 EST


Applied the series, although a couple of the patches were already
applied from a previous patch set.

Thanks,

Alex

On Wed, Nov 13, 2019 at 9:12 AM yu kuai <yukuai3@xxxxxxxxxx> wrote:
>
> This patch set fixes various unrelated gcc '-Wunused-but-set-variable'
> warnings.
>
> yu kuai (7):
> drm/amdgpu: remove set but not used variable 'mc_shared_chmap' from
> 'gfx_v6_0.c' and 'gfx_v7_0.c'
> drm/amdgpu: remove set but not used variable 'amdgpu_connector'
> drm/amdgpu: remove set but not used variable 'count'
> drm/amdgpu: remove set but not used variable 'invalid'
> drm/amdgpu: remove set but not used variable 'threshold'
> drm/amdgpu: remove set but not used variable 'state'
> drm/amdgpu: remove set but not used variable 'us_mvdd'
>
> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 4 ++--
> drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 --
> drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c | 3 +--
> drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c | 3 +--
> drivers/gpu/drm/amd/amdkfd/kfd_device.c | 4 ++--
> drivers/gpu/drm/amd/powerplay/smumgr/fiji_smumgr.c | 7 ++-----
> drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c | 12 ------------
> 7 files changed, 8 insertions(+), 27 deletions(-)
>
> --
> 2.7.4
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx