crypto: 842 - remove .cra_list initialization
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Wed, 29 Aug 2012 20:37:25 +0000 (23:37 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 6 Sep 2012 20:17:06 +0000 (04:17 +0800)
.cra_list initialization is unneeded and have been removed from all other
crypto modules except 842.

Cc: Robert Jennings <rcj@linux.vnet.ibm.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/842.c

index 144767db44e5316ca707abd198012513849a8f58..65c7a89cfa090a1a3a7bff6ad2f1ab9d40e1701f 100644 (file)
@@ -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 = {