linux_dsm_epyc7002/arch/x86/crypto/sha1-mb
Eric Biggers c87a405e3b crypto: ahash - remove useless setting of cra_type
Some ahash algorithms set .cra_type = &crypto_ahash_type.  But this is
redundant with the C structure type ('struct ahash_alg'), and
crypto_register_ahash() already sets the .cra_type automatically.
Apparently the useless assignment has just been copy+pasted around.

So, remove the useless assignment from all the ahash algorithms.

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Acked-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-07-09 00:30:26 +08:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sha1_mb_ctx.h crypto: sha1-mb - remove HASH_FIRST flag 2018-02-15 23:26:45 +08:00
sha1_mb_mgr_datastruct.S crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_flush_avx2.S crypto: x86/sha1-mb - fix panic due to unaligned access 2017-11-03 21:35:35 +08:00
sha1_mb_mgr_init_avx2.c crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb_mgr_submit_avx2.S crypto: x86 - make constants readonly, allow linker to merge them 2017-01-23 22:50:29 +08:00
sha1_mb_mgr.h crypto: sha1-mb - rename sha-mb to sha1-mb 2016-06-27 16:57:47 +08:00
sha1_mb.c crypto: ahash - remove useless setting of cra_type 2018-07-09 00:30:26 +08:00
sha1_x8_avx2.S crypto: x86 - make constants readonly, allow linker to merge them 2017-01-23 22:50:29 +08:00