crypto: cleanup - remove unneeded crypto_alg.cra_list initializations
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Wed, 11 Jul 2012 11:20:46 +0000 (14:20 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 1 Aug 2012 09:47:27 +0000 (17:47 +0800)
commit77ec2e734d4820c51cbabe1257e9311df5868160
treedf262dafba63584e1e6b1b8e2143de255253a40c
parentf4b0277e7ef435733b888a62cf9c4c12b219e7c5
crypto: cleanup - remove unneeded crypto_alg.cra_list initializations

Initialization of cra_list is currently mixed, most ciphers initialize this
field and most shashes do not. Initialization however is not needed at all
since cra_list is initialized/overwritten in __crypto_register_alg() with
list_add(). Therefore perform cleanup to remove all unneeded initializations
of this field in 'crypto/'.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
15 files changed:
crypto/aes_generic.c
crypto/anubis.c
crypto/blowfish_generic.c
crypto/camellia_generic.c
crypto/cast5.c
crypto/cast6.c
crypto/deflate.c
crypto/fcrypt.c
crypto/ghash-generic.c
crypto/khazad.c
crypto/krng.c
crypto/lzo.c
crypto/salsa20_generic.c
crypto/seed.c
crypto/twofish_generic.c