[PATCH] drm/amdgpu/display: remove unused variable in dcn31_init_hw()
Harry Wentland
harry.wentland at amd.com
Wed Oct 20 13:56:37 UTC 2021
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 at amd.com>
Reviewed-by: Harry Wentland <harry.wentland at 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);
>
More information about the amd-gfx
mailing list