Re: [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()
From: Tom Lendacky
Date: Tue Aug 20 2024 - 09:55:57 EST
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@xxxxxxxxxx>
Acked-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> ---
> 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);