[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2570ce69-88ae-0927-d442-2efa20abd707@amd.com>
Date: Mon, 17 Jan 2022 08:09:40 +0100
From: Christian König <christian.koenig@....com>
To: cgel.zte@...il.com, alexander.deucher@....com
Cc: Philip.Yang@....com, Oak.Zeng@....com, tzimmermann@...e.de,
kevin1.wang@....com, airlied@...ux.ie, Felix.Kuehling@....com,
Xinhui.Pan@....com, Zeal Robot <zealci@....com.cn>,
linux-kernel@...r.kernel.org, amd-gfx@...ts.freedesktop.org,
jonathan.kim@....com, nirmoy.das@....com,
dri-devel@...ts.freedesktop.org, daniel@...ll.ch,
Changcheng Deng <deng.changcheng@....com.cn>,
christian.koenig@....com
Subject: Re: [PATCH] drm/amdgpu: remove duplicate include
Am 15.01.22 um 08:02 schrieb cgel.zte@...il.com:
> From: Changcheng Deng <deng.changcheng@....com.cn>
>
> 'drm/drm_drv.h' included in 'amdgpu_ttm.c' is duplicated. It is also
> included on 53 line.
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Changcheng Deng <deng.changcheng@....com.cn>
Acked-by: Christian König <christian.koenig@....com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> index 953d68b26f0b..ebd40d1a8aff 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
> @@ -43,7 +43,6 @@
> #include <linux/sizes.h>
> #include <linux/module.h>
>
> -#include <drm/drm_drv.h>
> #include <drm/ttm/ttm_bo_api.h>
> #include <drm/ttm/ttm_bo_driver.h>
> #include <drm/ttm/ttm_placement.h>
> --
> 2.25.1
>
Powered by blists - more mailing lists