drm/amdgpu/display: remove duplicate include header in files

Message ID 202301280939083976293@zte.com.cn
State New
Headers
Series drm/amdgpu/display: remove duplicate include header in files |

Commit Message

ye.xingchen@zte.com.cn Jan. 28, 2023, 1:39 a.m. UTC
  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(-)
  

Comments

Alex Deucher Jan. 31, 2023, 5:18 p.m. UTC | #1
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
  

Patch

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"