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

Alex Deucher alexdeucher at gmail.com
Wed Nov 13 15:24:07 UTC 2019


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 at huawei.com> 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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list