crypto: aead - remove useless setting of type flags
authorEric Biggers <ebiggers@google.com>
Sat, 30 Jun 2018 22:16:14 +0000 (15:16 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:26 +0000 (00:30 +0800)
commit3f4a537a26a68600ed1439222fb5e5c3aa513c7a
tree6bbae2d8649c529c92a094f3f5db82216576cab0
parentc87a405e3bacaae324bb05ee9a48aa9844688469
crypto: aead - remove useless setting of type flags

Some aead algorithms set .cra_flags = CRYPTO_ALG_TYPE_AEAD.  But this is
redundant with the C structure type ('struct aead_alg'), and
crypto_register_aead() 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 aead 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>
arch/s390/crypto/aes_s390.c
crypto/aegis128.c
crypto/aegis128l.c
crypto/aegis256.c
crypto/morus1280.c
crypto/morus640.c
drivers/crypto/axis/artpec6_crypto.c
drivers/crypto/bcm/cipher.c
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/inside-secure/safexcel_cipher.c