Re:Re: [PATCH] drm/amd/display: Remove duplicate declaration of dc_state

2021-04-29 Thread Jiabing Wan
>Hi Wan, > >Instead of remove the first dc_state, remove the second one. > >Thanks Hi Rodrigo, Thanks for your reply. OK, in fact, there are no functions using struct dc_state between two struct declarations. So I think removing anyone is OK. Remove the first one to make it more closer to user

Re: [PATCH] drm/amd/display: Remove duplicate declaration of dc_state

2021-04-29 Thread Rodrigo Siqueira
Hi Wan, Instead of remove the first dc_state, remove the second one. Thanks On 04/29, Wan Jiabing wrote: > There are two declarations of struct dc_state here. > The later one is closer to its user. Remove the former duplicate. > > Signed-off-by: Wan Jiabing > --- > drivers/gpu/drm/amd/display

[PATCH] drm/amd/display: Remove duplicate declaration of dc_state

2021-04-28 Thread Wan Jiabing
There are two declarations of struct dc_state here. The later one is closer to its user. Remove the former duplicate. Signed-off-by: Wan Jiabing --- drivers/gpu/drm/amd/display/dc/dc.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd