2023-10-18 01:02:25

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] drm/amd/display: Remove duplicated include in dce110_hwseq.c

./drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c: dce110_hwseq.h is included more than once.

Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6897
Signed-off-by: Yang Li <[email protected]>
---
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
index 74602a5fd6dd..51e42cbb3cdb 100644
--- a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
@@ -65,8 +65,6 @@

#include "dcn10/dcn10_hwseq.h"

-#include "dce110_hwseq.h"
-
#define GAMMA_HW_POINTS_NUM 256

/*
--
2.20.1.7.g153144c


2023-10-18 13:57:55

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH -next] drm/amd/display: Remove duplicated include in dce110_hwseq.c

Applied. Thanks!

On Tue, Oct 17, 2023 at 9:02 PM Yang Li <[email protected]> wrote:
>
> ./drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c: dce110_hwseq.h is included more than once.
>
> Reported-by: Abaci Robot <[email protected]>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6897
> Signed-off-by: Yang Li <[email protected]>
> ---
> drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
> index 74602a5fd6dd..51e42cbb3cdb 100644
> --- a/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
> +++ b/drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c
> @@ -65,8 +65,6 @@
>
> #include "dcn10/dcn10_hwseq.h"
>
> -#include "dce110_hwseq.h"
> -
> #define GAMMA_HW_POINTS_NUM 256
>
> /*
> --
> 2.20.1.7.g153144c
>