Thread (3 messages) 3 messages, 3 authors, 2012-09-06
STALE5063d

[PATCH] crypto: 842 - remove .cra_list initialization

From: Jussi Kivilinna <hidden>
Date: 2012-08-29 20:37:28
Subsystem: crypto api, ibm power 842 compression accelerator, the rest · Maintainers: Herbert Xu, "David S. Miller", Haren Myneni, Linus Torvalds

.cra_list initialization is unneeded and have been removed from all other
crypto modules except 842.

Cc: Robert Jennings <redacted>
Cc: Seth Jennings <redacted>
Signed-off-by: Jussi Kivilinna <redacted>

---

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(-)
diff --git a/crypto/842.c b/crypto/842.c
index 144767d..65c7a89c 100644
--- a/crypto/842.c
+++ b/crypto/842.c
@@ -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 = {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help