diff options
author | Eric Biggers <ebiggers@google.com> | 2018-07-01 01:16:14 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-07-08 19:30:26 +0300 |
commit | 3f4a537a26a68600ed1439222fb5e5c3aa513c7a (patch) | |
tree | 6bbae2d8649c529c92a094f3f5db82216576cab0 /crypto/tea.c | |
parent | c87a405e3bacaae324bb05ee9a48aa9844688469 (diff) | |
download | linux-3f4a537a26a68600ed1439222fb5e5c3aa513c7a.tar.xz |
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>
Diffstat (limited to 'crypto/tea.c')
0 files changed, 0 insertions, 0 deletions