Skip to contentSkip to conversation

drm/amd/display: remove duplicate include in dcn201_clk_mgr.c

PATCH Applied [email protected] 2 participants 2 messages Oct 8, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 .../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
index 46e7efe9a78a..db9950244c7b 100644
@@ -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
Applied
#1 lore raw

Applied. 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.h and core_types.h from dcn201_clk_mgr.c.

---
 .../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
index 46e7efe9a78a..db9950244c7b 100644
@@ -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