crypto: crypto4xx - remove bad list_del
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 25 Aug 2017 13:47:14 +0000 (15:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Jul 2018 12:28:43 +0000 (14:28 +0200)
commit996a6a393b3f82f306ec65f25756a31f51ca3967
treec89a43ee3ab2c8b81956e3ee9c9aaf0844f08cd1
parentdc3782a3e9c61872df8c8ed395b60d3b7ad782b8
crypto: crypto4xx - remove bad list_del

commit a728a196d253530f17da5c86dc7dfbe58c5f7094 upstream.

alg entries are only added to the list, after the registration
was successful. If the registration failed, it was never added
to the list in the first place.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/crypto/amcc/crypto4xx_core.c