crypto: serpent-sse2 - remove dead code from serpent_sse2_glue.c::serpent_sse2_init()
authorJesper Juhl <jj@chaosbits.net>
Thu, 9 Feb 2012 22:16:04 +0000 (23:16 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Feb 2012 08:34:19 +0000 (16:34 +0800)
We cannot reach the line after 'return err'. Remove it.

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/serpent_sse2_glue.c

index 7955a9b76b91506d8aa9f08bff7a6e3d2cbc94a7..de81cf4e06a144b5a5359a514bcf94007300ba28 100644 (file)
@@ -1025,7 +1025,6 @@ static int __init serpent_sse2_init(void)
                goto ablk_xts_err;
        return err;
 
-       crypto_unregister_alg(&ablk_xts_alg);
 ablk_xts_err:
        crypto_unregister_alg(&blk_xts_alg);
 blk_xts_err: