diff mbox series

drm/amd/display: Remove duplicated function signature from dcn3.01 DCCG

Message ID 20240222141900.295254-1-davidbtadokoro@usp.br (mailing list archive)
State New, archived
Headers show
Series drm/amd/display: Remove duplicated function signature from dcn3.01 DCCG | expand

Commit Message

David Tadokoro Feb. 22, 2024, 2:19 p.m. UTC
In the header file dc/dcn301/dcn301_dccg.h, the function dccg301_create
is declared twice, so remove duplication.

Signed-off-by: David Tadokoro <davidbtadokoro@usp.br>
---
 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

Rodrigo Siqueira Jordao April 23, 2024, 7:47 p.m. UTC | #1
On 2/22/24 7:19 AM, David Tadokoro wrote:
> In the header file dc/dcn301/dcn301_dccg.h, the function dccg301_create
> is declared twice, so remove duplication.
> 
> Signed-off-by: David Tadokoro <davidbtadokoro@usp.br>
> ---
>   drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h | 6 ------
>   1 file changed, 6 deletions(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
> index 73db962dbc03..067e49cb238e 100644
> --- a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
> +++ b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
> @@ -56,10 +56,4 @@ struct dccg *dccg301_create(
>   	const struct dccg_shift *dccg_shift,
>   	const struct dccg_mask *dccg_mask);
>   
> -struct dccg *dccg301_create(
> -	struct dc_context *ctx,
> -	const struct dccg_registers *regs,
> -	const struct dccg_shift *dccg_shift,
> -	const struct dccg_mask *dccg_mask);
> -
>   #endif //__DCN301_DCCG_H__

Hi David,

Thanks a lot for your patch.

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>

I already merged your patch into the asdn.

Thanks
Siqueira
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
index 73db962dbc03..067e49cb238e 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
+++ b/drivers/gpu/drm/amd/display/dc/dcn301/dcn301_dccg.h
@@ -56,10 +56,4 @@  struct dccg *dccg301_create(
 	const struct dccg_shift *dccg_shift,
 	const struct dccg_mask *dccg_mask);
 
-struct dccg *dccg301_create(
-	struct dc_context *ctx,
-	const struct dccg_registers *regs,
-	const struct dccg_shift *dccg_shift,
-	const struct dccg_mask *dccg_mask);
-
 #endif //__DCN301_DCCG_H__