[PATCH] drm/amdgpu/display: remove duplicate include header in files

ye.xingchen@zte.com.cn posted 1 patch 2 years, 7 months ago
drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] drm/amdgpu/display: remove duplicate include header in files
Posted by ye.xingchen@zte.com.cn 2 years, 7 months ago
From: ye xingchen <ye.xingchen@zte.com.cn>

opp.h is included more than once.

Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
---
 drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
index 6475664baa8a..1a2ab934b4bd 100644
--- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
+++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
@@ -46,7 +46,6 @@
 #include "dpcd_defs.h"
 #include "dmcu.h"
 #include "dsc.h"
-#include "opp.h"
 #include "hw/clk_mgr.h"
 #include "dce/dmub_psr.h"
 #include "dmub/dmub_srv.h"
-- 
2.25.1
Re: [PATCH] drm/amdgpu/display: remove duplicate include header in files
Posted by Alex Deucher 2 years, 7 months ago
Applied.  Thanks!

Alex

On Fri, Jan 27, 2023 at 8:39 PM <ye.xingchen@zte.com.cn> wrote:
>
> From: ye xingchen <ye.xingchen@zte.com.cn>
>
> opp.h is included more than once.
>
> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
> ---
>  drivers/gpu/drm/amd/display/dc/core/dc_link.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> index 6475664baa8a..1a2ab934b4bd 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c
> @@ -46,7 +46,6 @@
>  #include "dpcd_defs.h"
>  #include "dmcu.h"
>  #include "dsc.h"
> -#include "opp.h"
>  #include "hw/clk_mgr.h"
>  #include "dce/dmub_psr.h"
>  #include "dmub/dmub_srv.h"
> --
> 2.25.1