diff mbox series

[-next] crypto: allwinner - Remove unused function declarations

Message ID 20230809031443.39312-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] crypto: allwinner - Remove unused function declarations | expand

Commit Message

Yue Haibing Aug. 9, 2023, 3:14 a.m. UTC
Commit 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
declared but never implemented sun8i_ce_enqueue().
Commit 56f6d5aee88d ("crypto: sun8i-ce - support hash algorithms")
declared but never implemented sun8i_ce_hash().
Commit f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
declared but never implemented sun8i_ss_enqueue().

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 3 ---
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 2 --
 2 files changed, 5 deletions(-)

Comments

Herbert Xu Aug. 18, 2023, 9:30 a.m. UTC | #1
On Wed, Aug 09, 2023 at 11:14:43AM +0800, Yue Haibing wrote:
> Commit 06f751b61329 ("crypto: allwinner - Add sun8i-ce Crypto Engine")
> declared but never implemented sun8i_ce_enqueue().
> Commit 56f6d5aee88d ("crypto: sun8i-ce - support hash algorithms")
> declared but never implemented sun8i_ce_hash().
> Commit f08fcced6d00 ("crypto: allwinner - Add sun8i-ss cryptographic offloader")
> declared but never implemented sun8i_ss_enqueue().
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 3 ---
>  drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 2 --
>  2 files changed, 5 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
index 27029fb77e29..4742b48ef52e 100644
--- a/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
+++ b/drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h
@@ -347,8 +347,6 @@  struct sun8i_ce_alg_template {
 	char fbname[CRYPTO_MAX_ALG_NAME];
 };
 
-int sun8i_ce_enqueue(struct crypto_async_request *areq, u32 type);
-
 int sun8i_ce_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
 			unsigned int keylen);
 int sun8i_ce_des3_setkey(struct crypto_skcipher *tfm, const u8 *key,
@@ -367,7 +365,6 @@  void sun8i_ce_hash_craexit(struct crypto_tfm *tfm);
 int sun8i_ce_hash_init(struct ahash_request *areq);
 int sun8i_ce_hash_export(struct ahash_request *areq, void *out);
 int sun8i_ce_hash_import(struct ahash_request *areq, const void *in);
-int sun8i_ce_hash(struct ahash_request *areq);
 int sun8i_ce_hash_final(struct ahash_request *areq);
 int sun8i_ce_hash_update(struct ahash_request *areq);
 int sun8i_ce_hash_finup(struct ahash_request *areq);
diff --git a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
index df6f08f6092f..bfe305261e9a 100644
--- a/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
+++ b/drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h
@@ -293,8 +293,6 @@  struct sun8i_ss_alg_template {
 	char fbname[CRYPTO_MAX_ALG_NAME];
 };
 
-int sun8i_ss_enqueue(struct crypto_async_request *areq, u32 type);
-
 int sun8i_ss_aes_setkey(struct crypto_skcipher *tfm, const u8 *key,
 			unsigned int keylen);
 int sun8i_ss_des3_setkey(struct crypto_skcipher *tfm, const u8 *key,