drm/amdgpu/display: remove unused variable in dcn31_init_hw()
Subsystems (3)
Alex Deucher
maintainerPATCH 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"")
Signed-off-by Alex Deucher <[email protected]>
--- 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
@@ -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
Quoted 4 lines · Alex Deucher
Unused. Remove it.
Fixes d1065882691179 ("Revert "drm/amd/display: Add helper for blanking all dp displays"")Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Harry Wentland <[email protected]>
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@@ -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);