linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] crypto: brcm - remove unused array tag_to_hash_idx
@ 2019-03-19 13:57 Yue Haibing
  2019-03-28  6:07 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Haibing @ 2019-03-19 13:57 UTC (permalink / raw)
  To: herbert, davem; +Cc: linux-kernel, linux-crypto, YueHaibing

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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] crypto: brcm - remove unused array tag_to_hash_idx
  2019-03-19 13:57 [PATCH -next] crypto: brcm - remove unused array tag_to_hash_idx Yue Haibing
@ 2019-03-28  6:07 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2019-03-28  6:07 UTC (permalink / raw)
  To: Yue Haibing; +Cc: davem, linux-kernel, linux-crypto

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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-28  6:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19 13:57 [PATCH -next] crypto: brcm - remove unused array tag_to_hash_idx Yue Haibing
2019-03-28  6:07 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).