2023-02-09 10:50:12

by ye.xingchen

[permalink] [raw]
Subject: [PATCH v2] drm/amd/display: remove duplicate include header

From: Ye Xingchen <[email protected]>

link_hwss.h is included more than once in link_dpms.c .

Signed-off-by: Ye Xingchen <[email protected]>
---
v1 -> v2
Fix the U+00A0 non-breaking space in the subject line.
drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
index 9cdfa7f7dc77..0c26b3589608 100644
--- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
+++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
@@ -51,7 +51,6 @@
#include "link_enc_cfg.h"
#include "resource.h"
#include "dsc.h"
-#include "link_hwss.h"
#include "dccg.h"
#include "clk_mgr.h"
#include "atomfirmware.h"
--
2.25.1


2023-02-09 14:33:24

by Alex Deucher

[permalink] [raw]
Subject: Re: [PATCH v2] drm/amd/display: remove duplicate include header

Applied. Thanks!

Alex

On Thu, Feb 9, 2023 at 5:48 AM <[email protected]> wrote:
>
> From: Ye Xingchen <[email protected]>
>
> link_hwss.h is included more than once in link_dpms.c .
>
> Signed-off-by: Ye Xingchen <[email protected]>
> ---
> v1 -> v2
> Fix the U+00A0 non-breaking space in the subject line.
> drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> index 9cdfa7f7dc77..0c26b3589608 100644
> --- a/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> +++ b/drivers/gpu/drm/amd/display/dc/link/link_dpms.c
> @@ -51,7 +51,6 @@
> #include "link_enc_cfg.h"
> #include "resource.h"
> #include "dsc.h"
> -#include "link_hwss.h"
> #include "dccg.h"
> #include "clk_mgr.h"
> #include "atomfirmware.h"
> --
> 2.25.1