diff options
author | Eric Biggers <ebiggers@google.com> | 2018-11-14 11:35:48 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-11-20 14:26:55 +0800 |
commit | c0b5e246d83d24714e32c6113197dabb893318cb (patch) | |
tree | c0c01e05a56fa72b10445e4b70d7f3625208dad8 /crypto/wp512.c | |
parent | ea67137900ab7938b1ede24ad61241db5621719d (diff) | |
download | linux-crypto-c0b5e246d83d24714e32c6113197dabb893318cb.tar.gz linux-crypto-c0b5e246d83d24714e32c6113197dabb893318cb.zip |
crypto: remove useless initializations of cra_list
Some algorithms initialize their .cra_list prior to registration.
But this is unnecessary since crypto_register_alg() will overwrite
.cra_list when adding the algorithm to the 'crypto_alg_list'.
Apparently the useless assignment has just been copy+pasted around.
So, remove the useless assignments.
Exception: paes_s390.c uses cra_list to check whether the algorithm is
registered or not, so I left that as-is for now.
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/wp512.c')
0 files changed, 0 insertions, 0 deletions