[PATCH -next 00/14] drm/amdgpu: remove unnecessary conversion to bool

Alex Deucher alexdeucher at gmail.com
Wed Jan 22 20:21:48 UTC 2020


On Tue, Jan 21, 2020 at 11:08 AM Chen Zhou <chenzhou10 at huawei.com> wrote:
>
> This patch series remove unnecessary conversion to bool in dir
> drivers/gpu/drm/amd/amdgpu/, which is detected by coccicheck.

Thanks for the patches.  Already applied this patch:
https://patchwork.freedesktop.org/series/72281/#rev2
which covers these.

Alex

>
> Chen Zhou (14):
>   drm/amdgpu: remove unnecessary conversion to bool in mmhub_v1_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in vega10_ih.c
>   drm/amdgpu: remove unnecessary conversion to bool in navi10_ih.c
>   drm/amdgpu: remove unnecessary conversion to bool in gfx_v10_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in sdma_v5_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in athub_v1_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in amdgpu_acp.c
>   drm/amdgpu: remove unnecessary conversion to bool in soc15.c
>   drm/amdgpu: remove unnecessary conversion to bool in nv.c
>   drm/amdgpu: remove unnecessary conversion to bool in mmhub_v9_4.c
>   drm/amdgpu: remove unnecessary conversion to bool in amdgpu_device.c
>   drm/amdgpu: remove unnecessary conversion to bool in athub_v2_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in sdma_v4_0.c
>   drm/amdgpu: remove unnecessary conversion to bool in gfx_v9_0.c
>
>  drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c    |  2 +-
>  drivers/gpu/drm/amd/amdgpu/amdgpu_device.c |  8 +++-----
>  drivers/gpu/drm/amd/amdgpu/athub_v1_0.c    |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/athub_v2_0.c    |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c     |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c      |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c    |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/mmhub_v2_0.c    |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/mmhub_v9_4.c    |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/navi10_ih.c     |  2 +-
>  drivers/gpu/drm/amd/amdgpu/nv.c            |  8 ++++----
>  drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c     |  6 +++---
>  drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c     |  4 ++--
>  drivers/gpu/drm/amd/amdgpu/soc15.c         | 28 ++++++++++++++--------------
>  drivers/gpu/drm/amd/amdgpu/vega10_ih.c     |  2 +-
>  15 files changed, 43 insertions(+), 45 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