From: Yue Haibing Date: Tue, 20 Aug 2024 08:25:23 +0000 (+0800) Subject: crypto: ccp - Remove unused declaration sp_get_master() X-Git-Tag: v6.12-rc1~231^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=60f911c4ebaf31bdc8de3603541b7b8e2bcdefc7;p=thirdparty%2Fkernel%2Flinux.git crypto: ccp - Remove unused declaration sp_get_master() 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 Acked-by: Tom Lendacky Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h index 0895de823674e..6f9d7063257d7 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);