AMD-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/amdgpu/display: remove unused variable in dcn31_init_hw()
@ 2021-10-19 20:51 Alex Deucher
  2021-10-20 13:56 ` Harry Wentland
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Deucher @ 2021-10-19 20:51 UTC (permalink / raw)
  To: amd-gfx; +Cc: Alex Deucher

Unused.  Remove it.

Fixes: d1065882691179 ("Revert "drm/amd/display: Add helper for blanking all dp displays"")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
---
 drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
index 7308c4c744ba..9a6ad1cebc85 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
@@ -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);
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm/amdgpu/display: remove unused variable in dcn31_init_hw()
  2021-10-19 20:51 [PATCH] drm/amdgpu/display: remove unused variable in dcn31_init_hw() Alex Deucher
@ 2021-10-20 13:56 ` Harry Wentland
  0 siblings, 0 replies; 2+ messages in thread
From: Harry Wentland @ 2021-10-20 13:56 UTC (permalink / raw)
  To: Alex Deucher, amd-gfx

On 2021-10-19 16:51, Alex Deucher wrote:
> Unused.  Remove it.
> 
> Fixes: d1065882691179 ("Revert "drm/amd/display: Add helper for blanking all dp displays"")
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

Reviewed-by: Harry Wentland <harry.wentland@amd.com>

Harry

> ---
>  drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
> index 7308c4c744ba..9a6ad1cebc85 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
> +++ b/drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
> @@ -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);
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-20 13:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-19 20:51 [PATCH] drm/amdgpu/display: remove unused variable in dcn31_init_hw() Alex Deucher
2021-10-20 13:56 ` Harry Wentland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox