diff mbox series

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

Message ID 20240820082525.259337-5-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series Cleanup unused function declarations | expand

Commit Message

Yue Haibing Aug. 20, 2024, 8:25 a.m. UTC
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(-)

Comments

Tom Lendacky Aug. 20, 2024, 1:55 p.m. UTC | #1
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);
diff mbox series

Patch

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);