diff options
author | Eric Biggers <ebiggers@google.com> | 2018-07-01 01:16:15 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-07-08 19:30:27 +0300 |
commit | 2c95e6d97892235b5b98cd4805e47fac87c2226f (patch) | |
tree | fda4952611a0d2404439b0c316f8a57474d5207b /drivers/crypto/marvell/hash.c | |
parent | 3f4a537a26a68600ed1439222fb5e5c3aa513c7a (diff) | |
download | linux-2c95e6d97892235b5b98cd4805e47fac87c2226f.tar.xz |
crypto: skcipher - remove useless setting of type flags
Some skcipher algorithms set .cra_flags = CRYPTO_ALG_TYPE_SKCIPHER. But
this is redundant with the C structure type ('struct skcipher_alg'), and
crypto_register_skcipher() 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 skcipher 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>
Diffstat (limited to 'drivers/crypto/marvell/hash.c')
0 files changed, 0 insertions, 0 deletions