]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaffdda7193515216ef1b05de2cae930f15f5a0bd
treedf262dafba63584e1e6b1b8e2143de255253a40c
parent316cc85a9ecbf3ed03434a7f58ed3abbded332ba
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