Messages in this thread Patch in this message | | | From | Yue Haibing <> | Subject | [PATCH -next] crypto: brcm - remove unused array tag_to_hash_idx | Date | Tue, 19 Mar 2019 21:57:49 +0800 |
| |
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(-)
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" }; -- 2.7.4
| |