2022-09-12 03:34:07

by CGEL

[permalink] [raw]
Subject: [PATCH linux-next] drm/amd/display/amdgpu_dm: remove duplicate included header files

From: Xu Panda <[email protected]>

soc15_common.h is included more than once.

Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Xu Panda <[email protected]>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 7a93162633ae..0e42bf496a73 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -98,8 +98,6 @@
#include "soc15_common.h"
#include "vega10_ip_offset.h"

-#include "soc15_common.h"
-
#include "gc/gc_11_0_0_offset.h"
#include "gc/gc_11_0_0_sh_mask.h"

--
2.15.2


2022-09-13 15:17:48

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH linux-next] drm/amd/display/amdgpu_dm: remove duplicate included header files

Applied. Thanks!

On Sun, Sep 11, 2022 at 11:23 PM <[email protected]> wrote:
>
> From: Xu Panda <[email protected]>
>
> soc15_common.h is included more than once.
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Xu Panda <[email protected]>
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 7a93162633ae..0e42bf496a73 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -98,8 +98,6 @@
> #include "soc15_common.h"
> #include "vega10_ip_offset.h"
>
> -#include "soc15_common.h"
> -
> #include "gc/gc_11_0_0_offset.h"
> #include "gc/gc_11_0_0_sh_mask.h"
>
> --
> 2.15.2
>