* [PATCH -next 0/6] Cleanup unused function declarations
@ 2024-08-20 8:25 Yue Haibing
2024-08-20 8:25 ` [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr() Yue Haibing
` (6 more replies)
0 siblings, 7 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
Cleanup unused declarations for crypto driver subsystem.
Yue Haibing (6):
crypto: safexcel - Remove unused declaration
safexcel_ring_first_rptr()
crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue()
crypto: octeontx - Remove unused declaration otx_cpt_callback()
crypto: ccp - Remove unused declaration sp_get_master()
crypto: amlogic - Remove unused declaration meson_enqueue()
crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx()
drivers/crypto/amcc/crypto4xx_core.h | 1 -
drivers/crypto/amlogic/amlogic-gxl.h | 2 --
drivers/crypto/ccp/sp-dev.h | 1 -
drivers/crypto/gemini/sl3516-ce.h | 2 --
drivers/crypto/inside-secure/safexcel.h | 1 -
drivers/crypto/marvell/octeontx/otx_cptvf_algs.h | 1 -
6 files changed, 8 deletions(-)
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-20 8:25 ` [PATCH -next 2/6] crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue() Yue Haibing
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
Commit 9744fec95f06 ("crypto: inside-secure - remove request list to
improve performance") declar this but never implemented.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/crypto/inside-secure/safexcel.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h
index d0059ce954dd..0c79ad78d1c0 100644
--- a/drivers/crypto/inside-secure/safexcel.h
+++ b/drivers/crypto/inside-secure/safexcel.h
@@ -897,7 +897,6 @@ int safexcel_init_ring_descriptors(struct safexcel_crypto_priv *priv,
int safexcel_select_ring(struct safexcel_crypto_priv *priv);
void *safexcel_ring_next_rptr(struct safexcel_crypto_priv *priv,
struct safexcel_desc_ring *ring);
-void *safexcel_ring_first_rptr(struct safexcel_crypto_priv *priv, int ring);
void safexcel_ring_rollback_wptr(struct safexcel_crypto_priv *priv,
struct safexcel_desc_ring *ring);
struct safexcel_command_desc *safexcel_add_cdesc(struct safexcel_crypto_priv *priv,
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 2/6] crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
2024-08-20 8:25 ` [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr() Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-20 8:25 ` [PATCH -next 3/6] crypto: octeontx - Remove unused declaration otx_cpt_callback() Yue Haibing
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
This function is never implemented and used since introduction in
commit 46c5338db7bd ("crypto: sl3516 - Add sl3516 crypto engine")
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/crypto/gemini/sl3516-ce.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/crypto/gemini/sl3516-ce.h b/drivers/crypto/gemini/sl3516-ce.h
index 9e1a7e7f8961..56b844d0cd9c 100644
--- a/drivers/crypto/gemini/sl3516-ce.h
+++ b/drivers/crypto/gemini/sl3516-ce.h
@@ -326,8 +326,6 @@ struct sl3516_ce_alg_template {
unsigned long stat_bytes;
};
-int sl3516_ce_enqueue(struct crypto_async_request *areq, u32 type);
-
int sl3516_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
unsigned int keylen);
int sl3516_ce_cipher_init(struct crypto_tfm *tfm);
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 3/6] crypto: octeontx - Remove unused declaration otx_cpt_callback()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
2024-08-20 8:25 ` [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr() Yue Haibing
2024-08-20 8:25 ` [PATCH -next 2/6] crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue() Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-20 8:25 ` [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master() Yue Haibing
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
This function is never implemented and used since introduction in
commit 10b4f09491bf ("crypto: marvell - add the Virtual Function
driver for CPT")
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/crypto/marvell/octeontx/otx_cptvf_algs.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/crypto/marvell/octeontx/otx_cptvf_algs.h b/drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
index 4181b5c5c356..a50b5e2f8d00 100644
--- a/drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
+++ b/drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
@@ -185,6 +185,5 @@ int otx_cpt_crypto_init(struct pci_dev *pdev, struct module *mod,
int num_queues, int num_devices);
void otx_cpt_crypto_exit(struct pci_dev *pdev, struct module *mod,
enum otx_cptvf_type engine_type);
-void otx_cpt_callback(int status, void *arg, void *req);
#endif /* __OTX_CPT_ALGS_H */
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
` (2 preceding siblings ...)
2024-08-20 8:25 ` [PATCH -next 3/6] crypto: octeontx - Remove unused declaration otx_cpt_callback() Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-20 13:55 ` Tom Lendacky
2024-08-20 8:25 ` [PATCH -next 5/6] crypto: amlogic - Remove unused declaration meson_enqueue() Yue Haibing
` (2 subsequent siblings)
6 siblings, 1 reply; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
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
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 5/6] crypto: amlogic - Remove unused declaration meson_enqueue()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
` (3 preceding siblings ...)
2024-08-20 8:25 ` [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master() Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-20 8:25 ` [PATCH -next 6/6] crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx() Yue Haibing
2024-08-30 10:36 ` [PATCH -next 0/6] Cleanup unused function declarations Herbert Xu
6 siblings, 0 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
This function is never implemented and used since introduction in
commit 48fe583fe541 ("crypto: amlogic - Add crypto accelerator for
amlogic GXL").
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/crypto/amlogic/amlogic-gxl.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/crypto/amlogic/amlogic-gxl.h b/drivers/crypto/amlogic/amlogic-gxl.h
index 1013a666c932..d68094ffb70a 100644
--- a/drivers/crypto/amlogic/amlogic-gxl.h
+++ b/drivers/crypto/amlogic/amlogic-gxl.h
@@ -150,8 +150,6 @@ struct meson_alg_template {
#endif
};
-int meson_enqueue(struct crypto_async_request *areq, u32 type);
-
int meson_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
unsigned int keylen);
int meson_cipher_init(struct crypto_tfm *tfm);
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH -next 6/6] crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx()
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
` (4 preceding siblings ...)
2024-08-20 8:25 ` [PATCH -next 5/6] crypto: amlogic - Remove unused declaration meson_enqueue() Yue Haibing
@ 2024-08-20 8:25 ` Yue Haibing
2024-08-30 10:36 ` [PATCH -next 0/6] Cleanup unused function declarations Herbert Xu
6 siblings, 0 replies; 9+ messages in thread
From: Yue Haibing @ 2024-08-20 8:25 UTC (permalink / raw)
To: herbert, davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
This function is never implemented and used since introduction in
commit 049359d65527 ("crypto: amcc - Add crypt4xx driver").
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
drivers/crypto/amcc/crypto4xx_core.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/crypto/amcc/crypto4xx_core.h b/drivers/crypto/amcc/crypto4xx_core.h
index 96355d463b04..3adcc5e65694 100644
--- a/drivers/crypto/amcc/crypto4xx_core.h
+++ b/drivers/crypto/amcc/crypto4xx_core.h
@@ -149,7 +149,6 @@ struct crypto4xx_alg {
int crypto4xx_alloc_sa(struct crypto4xx_ctx *ctx, u32 size);
void crypto4xx_free_sa(struct crypto4xx_ctx *ctx);
-void crypto4xx_free_ctx(struct crypto4xx_ctx *ctx);
int crypto4xx_build_pd(struct crypto_async_request *req,
struct crypto4xx_ctx *ctx,
struct scatterlist *src,
--
2.34.1
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master()
2024-08-20 8:25 ` [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master() Yue Haibing
@ 2024-08-20 13:55 ` Tom Lendacky
0 siblings, 0 replies; 9+ messages in thread
From: Tom Lendacky @ 2024-08-20 13:55 UTC (permalink / raw)
To: Yue Haibing, herbert, davem, clabbe, linus.walleij, atenart,
arno, bbrezillon
Cc: linux-crypto, linux-kernel, linux-amlogic, linux-arm-kernel
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);
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH -next 0/6] Cleanup unused function declarations
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
` (5 preceding siblings ...)
2024-08-20 8:25 ` [PATCH -next 6/6] crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx() Yue Haibing
@ 2024-08-30 10:36 ` Herbert Xu
6 siblings, 0 replies; 9+ messages in thread
From: Herbert Xu @ 2024-08-30 10:36 UTC (permalink / raw)
To: Yue Haibing
Cc: davem, clabbe, linus.walleij, atenart, arno, bbrezillon,
thomas.lendacky, linux-crypto, linux-kernel, linux-amlogic,
linux-arm-kernel
On Tue, Aug 20, 2024 at 04:25:19PM +0800, Yue Haibing wrote:
> Cleanup unused declarations for crypto driver subsystem.
>
> Yue Haibing (6):
> crypto: safexcel - Remove unused declaration
> safexcel_ring_first_rptr()
> crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue()
> crypto: octeontx - Remove unused declaration otx_cpt_callback()
> crypto: ccp - Remove unused declaration sp_get_master()
> crypto: amlogic - Remove unused declaration meson_enqueue()
> crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx()
>
> drivers/crypto/amcc/crypto4xx_core.h | 1 -
> drivers/crypto/amlogic/amlogic-gxl.h | 2 --
> drivers/crypto/ccp/sp-dev.h | 1 -
> drivers/crypto/gemini/sl3516-ce.h | 2 --
> drivers/crypto/inside-secure/safexcel.h | 1 -
> drivers/crypto/marvell/octeontx/otx_cptvf_algs.h | 1 -
> 6 files changed, 8 deletions(-)
>
> --
> 2.34.1
All applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-08-30 10:37 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-20 8:25 [PATCH -next 0/6] Cleanup unused function declarations Yue Haibing
2024-08-20 8:25 ` [PATCH -next 1/6] crypto: safexcel - Remove unused declaration safexcel_ring_first_rptr() Yue Haibing
2024-08-20 8:25 ` [PATCH -next 2/6] crypto: sl3516 - Remove unused declaration sl3516_ce_enqueue() Yue Haibing
2024-08-20 8:25 ` [PATCH -next 3/6] crypto: octeontx - Remove unused declaration otx_cpt_callback() Yue Haibing
2024-08-20 8:25 ` [PATCH -next 4/6] crypto: ccp - Remove unused declaration sp_get_master() Yue Haibing
2024-08-20 13:55 ` Tom Lendacky
2024-08-20 8:25 ` [PATCH -next 5/6] crypto: amlogic - Remove unused declaration meson_enqueue() Yue Haibing
2024-08-20 8:25 ` [PATCH -next 6/6] crypto: crypto4xx - Remove unused declaration crypto4xx_free_ctx() Yue Haibing
2024-08-30 10:36 ` [PATCH -next 0/6] Cleanup unused function declarations Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®