Re: [PATCH] drm/amd/display: remove duplicate include in dcn201_clk_mgr.c

From: Alex Deucher
Date: Fri Oct 08 2021 - 10:30:37 EST


Applied. Thanks!

Alex

On Fri, Oct 8, 2021 at 4:40 AM <cgel.zte@xxxxxxxxx> wrote:
>
> From: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
>
> Remove all but the first include of reg_helper.h and core_types.h
> from dcn201_clk_mgr.c.
>
> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>
> Signed-off-by: Lv Ruyi <lv.ruyi@xxxxxxxxxx>
> ---
> .../gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> index 46e7efe9a78a..db9950244c7b 100644
> --- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> +++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c
> @@ -26,8 +26,6 @@
> #include "reg_helper.h"
> #include "core_types.h"
> #include "dccg.h"
> #include "clk_mgr_internal.h"
> #include "dcn201_clk_mgr.h"
> #include "dcn20/dcn20_clk_mgr.h"
> #include "dce100/dce_clk_mgr.h"
> -#include "reg_helper.h"
> -#include "core_types.h"
> #include "dm_helpers.h"
> #include "dm_services.h"
>
> --
> 2.25.1
>