Skip to contentSkip to conversation

drm/amdgpu/display: remove unused variable in dcn31_init_hw()

PATCH In review Alex Deucher 2 participants 2 messages Oct 19, 2021 – Oct 20, 2021

Subsystems (3)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 drm/amdgpu/display: remove unused variable in dcn31_init_hw()

Unused. Remove it.

Fixes d1065882691179 ("Revert "drm/amd/display: Add helper for blanking all dp displays"")
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c +0 -1
index 7308c4c744ba..9a6ad1cebc85 100644
@@ -73,7 +73,6 @@ void dcn31_init_hw(struct dc *dc)
 	struct resource_pool *res_pool = dc->res_pool;
 	uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 	int i, j;
-	int edp_num;
 
 	if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
 		dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);
Signature · 1 line
2.31.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Alex Deucher

Unused. Remove it.

Fixes d1065882691179 ("Revert "drm/amd/display: Add helper for blanking all dp displays"")

Harry

Quoted 17 lines
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c +0 -1
index 7308c4c744ba..9a6ad1cebc85 100644
@@ -73,7 +73,6 @@ void dcn31_init_hw(struct dc *dc)
 	struct resource_pool *res_pool = dc->res_pool;
 	uint32_t backlight = MAX_BACKLIGHT_LEVEL;
 	int i, j;
-	int edp_num;
 
 	if (dc->clk_mgr && dc->clk_mgr->funcs->init_clocks)
 		dc->clk_mgr->funcs->init_clocks(dc->clk_mgr);