From: Lv Ruyi <[email protected]>
Remove all but the first include of reg_helper.h and core_types.h
from dcn201_clk_mgr.c.
Reported-by: Zeal Robot <[email protected]>
Signed-off-by: Lv Ruyi <[email protected]>
---
.../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
Applied. Thanks!
Alex
On Fri, Oct 8, 2021 at 4:40 AM <[email protected]> wrote:
>
> From: Lv Ruyi <[email protected]>
>
> Remove all but the first include of reg_helper.h and core_types.h
> from dcn201_clk_mgr.c.
>
> Reported-by: Zeal Robot <[email protected]>
> Signed-off-by: Lv Ruyi <[email protected]>
> ---
> .../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
>