drm/amd/display: remove duplicate include in dcn201_clk_mgr.c
Subsystems (3)
PATCH 1/1 drm/amd/display: remove duplicate include in dcn201_clk_mgr.c
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(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c +0 -0
@@ -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"
Signature · 1 line
2.25.1
Alex Deucher
AppliedApplied. Thanks!
Alex
Quoted 32 lines · 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.handcore_types.hfromdcn201_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(-)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn201/dcn201_clk_mgr.c +0
-3@@ -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