Re: [PATCH -next] drm/amdgpu: Remove duplicated includes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Applied.  Thanks!

On Thu, Aug 10, 2023 at 8:33 AM GUO Zihua <guozihua@xxxxxxxxxx> wrote:
>
> Remove duplicated includes in amdgpu_amdkfd_gpuvm.c and amdgpu_ttm.c.
> Resolves checkincludes message.
>
> Signed-off-by: GUO Zihua <guozihua@xxxxxxxxxx>
> ---
>  drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 1 -
>  drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c          | 1 -
>  2 files changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> index a136fba9f29b..7d6daf8d2bfa 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
> @@ -39,7 +39,6 @@
>  #include "amdgpu_xgmi.h"
>  #include "kfd_priv.h"
>  #include "kfd_smi_events.h"
> -#include <drm/ttm/ttm_tt.h>
>
>  /* Userptr restore delay, just long enough to allow consecutive VM
>   * changes to accumulate
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> index dea848bb55c1..f5aa1362c818 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -49,7 +49,6 @@
>  #include <drm/ttm/ttm_tt.h>
>
>  #include <drm/amdgpu_drm.h>
> -#include <drm/drm_drv.h>
>
>  #include "amdgpu.h"
>  #include "amdgpu_object.h"
> --
> 2.17.1
>




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux