2023-05-23 02:28:39

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] drm/amdgpu: Remove duplicate include

./drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c: amdgpu_xcp.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5281
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
index e5cfb3adb3b3..7fb2d38b010a 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
@@ -23,7 +23,6 @@
#include <linux/firmware.h>

#include "amdgpu.h"
-#include "amdgpu_xcp.h"
#include "amdgpu_gfx.h"
#include "soc15.h"
#include "soc15d.h"
--
2.20.1.7.g153144c



2023-05-23 16:15:03

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH] drm/amdgpu: Remove duplicate include

Applied. Thanks!

On Mon, May 22, 2023 at 10:18 PM Jiapeng Chong
<[email protected]> wrote:
>
> ./drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c: amdgpu_xcp.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=5281
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> index e5cfb3adb3b3..7fb2d38b010a 100644
> --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
> @@ -23,7 +23,6 @@
> #include <linux/firmware.h>
>
> #include "amdgpu.h"
> -#include "amdgpu_xcp.h"
> #include "amdgpu_gfx.h"
> #include "soc15.h"
> #include "soc15d.h"
> --
> 2.20.1.7.g153144c
>