diff mbox series

[-next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way()

Message ID 20220216114521.20092-1-yuehaibing@huawei.com
State Accepted
Commit c143a603c9abf3297b87ce1d2827883c67efc385
Headers show
Series [-next] crypto: x86/des3 - Remove unused inline function des3_ede_enc_blk_3way() | expand

Commit Message

Yue Haibing Feb. 16, 2022, 11:45 a.m. UTC
This is unused after commit 768db5fee3bb ("crypto: x86/des - drop CTR mode implementation")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 arch/x86/crypto/des3_ede_glue.c | 8 --------
 1 file changed, 8 deletions(-)

Comments

Herbert Xu Feb. 23, 2022, 3:31 a.m. UTC | #1
On Wed, Feb 16, 2022 at 07:45:21PM +0800, YueHaibing wrote:
> This is unused after commit 768db5fee3bb ("crypto: x86/des - drop CTR mode implementation")
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  arch/x86/crypto/des3_ede_glue.c | 8 --------
>  1 file changed, 8 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/arch/x86/crypto/des3_ede_glue.c b/arch/x86/crypto/des3_ede_glue.c
index 787c234d2469..abb8b1fe123b 100644
--- a/arch/x86/crypto/des3_ede_glue.c
+++ b/arch/x86/crypto/des3_ede_glue.c
@@ -45,14 +45,6 @@  static inline void des3_ede_dec_blk(struct des3_ede_x86_ctx *ctx, u8 *dst,
 	des3_ede_x86_64_crypt_blk(dec_ctx, dst, src);
 }
 
-static inline void des3_ede_enc_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst,
-					 const u8 *src)
-{
-	u32 *enc_ctx = ctx->enc.expkey;
-
-	des3_ede_x86_64_crypt_blk_3way(enc_ctx, dst, src);
-}
-
 static inline void des3_ede_dec_blk_3way(struct des3_ede_x86_ctx *ctx, u8 *dst,
 					 const u8 *src)
 {