linux-sg2042/arch/mips/cavium-octeon/crypto
Eric Biggers e50944e219 crypto: shash - remove useless setting of type flags
Many shash algorithms set .cra_flags = CRYPTO_ALG_TYPE_SHASH.  But this
is redundant with the C structure type ('struct shash_alg'), and
crypto_register_shash() already sets the type flag automatically,
clearing any type flag that was already there.  Apparently the useless
assignment has just been copy+pasted around.

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

This patch shouldn't change any actual behavior.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-07-09 00:30:24 +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
octeon-crypto.c MIPS: Add missing include files 2017-03-08 10:38:06 +01:00
octeon-crypto.h Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-04-17 15:50:54 -04:00
octeon-md5.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
octeon-sha1.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
octeon-sha256.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
octeon-sha512.c crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00