From: YueHaibing Date: Tue, 19 Mar 2019 13:57:49 +0000 (+0800) Subject: crypto: bcm - remove unused array tag_to_hash_idx X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=78ea86da5a64e6ec7cfcbee2c5f1fc32cf1866ac;p=openwrt%2Fstaging%2Fblogic.git crypto: bcm - remove unused array tag_to_hash_idx It's never used since introduction in commit 9d12ba86f818 ("crypto: brcm - Add Broadcom SPU driver") Signed-off-by: YueHaibing Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/bcm/spu.c b/drivers/crypto/bcm/spu.c index dbb5c03dde49..2baf6d7f2c1d 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" };