diff mbox series

[-next] crypto: brcm - remove unused array tag_to_hash_idx

Message ID 20190319135749.3188-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series [-next] crypto: brcm - remove unused array tag_to_hash_idx | expand

Commit Message

Yue Haibing March 19, 2019, 1:57 p.m. UTC
From: YueHaibing <yuehaibing@huawei.com>

It's never used since introduction in commit
9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 drivers/crypto/bcm/spu.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Herbert Xu March 28, 2019, 6:07 a.m. UTC | #1
On Tue, Mar 19, 2019 at 09:57:49PM +0800, Yue Haibing wrote:
> From: YueHaibing <yuehaibing@huawei.com>
> 
> It's never used since introduction in commit
> 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver")
> 
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
>  drivers/crypto/bcm/spu.c | 3 ---
>  1 file changed, 3 deletions(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/drivers/crypto/bcm/spu.c b/drivers/crypto/bcm/spu.c
index dbb5c03..2baf6d7 100644
--- a/drivers/crypto/bcm/spu.c
+++ b/drivers/crypto/bcm/spu.c
@@ -22,9 +22,6 @@ 
 #include "spum.h"
 #include "cipher.h"
 
-/* This array is based on the hash algo type supported in spu.h */
-char *tag_to_hash_idx[] = { "none", "md5", "sha1", "sha224", "sha256" };
-
 char *hash_alg_name[] = { "None", "md5", "sha1", "sha224", "sha256", "aes",
 	"sha384", "sha512", "sha3_224", "sha3_256", "sha3_384", "sha3_512" };