crypto: bcm - remove unused array tag_to_hash_idx
authorYueHaibing <yuehaibing@huawei.com>
Tue, 19 Mar 2019 13:57:49 +0000 (21:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Mar 2019 05:55:34 +0000 (13:55 +0800)
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>
drivers/crypto/bcm/spu.c

index dbb5c03dde492e2d2314b3c3198c50e5bddb3baf..2baf6d7f2c1df70e273bdee98d4a55c1c28e17d3 100644 (file)
@@ -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" };