[PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()

Tom Lendacky thomas.lendacky at amd.com
Tue Aug 20 06:55:42 PDT 2024


On 8/20/24 03:25, Yue Haibing wrote:
> This function is never implemented and used since introduction in
> commit 720419f01832 ("crypto: ccp - Introduce the AMD Secure Processor
> device").
> 
> Signed-off-by: Yue Haibing <yuehaibing at huawei.com>

Acked-by: Tom Lendacky <thomas.lendacky at amd.com>

> ---
>  drivers/crypto/ccp/sp-dev.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h
> index 0895de823674..6f9d7063257d 100644
> --- a/drivers/crypto/ccp/sp-dev.h
> +++ b/drivers/crypto/ccp/sp-dev.h
> @@ -138,7 +138,6 @@ struct sp_device *sp_alloc_struct(struct device *dev);
>  
>  int sp_init(struct sp_device *sp);
>  void sp_destroy(struct sp_device *sp);
> -struct sp_device *sp_get_master(void);
>  
>  int sp_suspend(struct sp_device *sp);
>  int sp_resume(struct sp_device *sp);



More information about the linux-amlogic mailing list