summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 16:57:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-03-28 08:55:34 +0300
commit78ea86da5a64e6ec7cfcbee2c5f1fc32cf1866ac (patch)
tree49f3cfa8c279bcb6ab5b3eaa86f68df6f3a37b74
parent8355003c502e6fa66b52c7a5b2cf8f53dfa484b5 (diff)
downloadlinux-78ea86da5a64e6ec7cfcbee2c5f1fc32cf1866ac.tar.xz
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 <yuehaibing@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--drivers/crypto/bcm/spu.c3
1 files changed, 0 insertions, 3 deletions
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" };