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

Yue Haibing posted 6 patches 1 year, 5 months ago
[PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()
Posted by Yue Haibing 1 year, 5 months ago
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@huawei.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);
-- 
2.34.1
Re: [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()
Posted by Tom Lendacky 1 year, 5 months ago
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@huawei.com>

Acked-by: Tom Lendacky <thomas.lendacky@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);