crypto: 842 - remove .cra_list initialization
Subsystems (2)
PATCH 1/1 crypto: 842 - remove .cra_list initialization
.cra_list initialization is unneeded and have been removed from all other crypto modules except 842.
Cc Robert Jennings <[email protected]>
Cc Seth Jennings <[email protected]>
Signed-off-by Jussi Kivilinna <[email protected]>
---
I don't have ppc64 cross-compiler set up, so I couldn't test this. However patch is obvious and should work.
--- crypto/842.c | 1 - 1 file changed, 1 deletion(-)
crypto/842.c +0 -1
@@ -157,7 +157,6 @@ static struct crypto_alg alg = { .cra_flags = CRYPTO_ALG_TYPE_COMPRESS, .cra_ctxsize = sizeof(struct nx842_ctx), .cra_module = THIS_MODULE, - .cra_list = LIST_HEAD_INIT(alg.cra_list), .cra_init = nx842_init, .cra_exit = nx842_exit, .cra_u = { .compress = {
Quoted 11 lines · Jussi Kivilinna
.cra_list initialization is unneeded and have been removed from all other crypto modules except 842.
Cc Robert Jennings <[email protected]>Cc Seth Jennings <[email protected]>Signed-off-by Jussi Kivilinna <[email protected]>---
I don't have ppc64 cross-compiler set up, so I couldn't test this. However patch is obvious and should work.
Applied on top of next-20120824 and it builds on ppc64, just for peace of mind :)
I see the other patch in next that did this for all the others.
Acked-by Seth Jennings <[email protected]>
--
Seth
Herbert Xu
maintainerQuoted 6 lines · Jussi Kivilinna
.cra_list initialization is unneeded and have been removed from all other crypto modules except 842.
Cc Robert Jennings <[email protected]>Cc Seth Jennings <[email protected]>Signed-off-by Jussi Kivilinna <[email protected]>
Patch applied.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt