]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
crypto: twofish-x86 - Remove dead code from twofish_glue_3way.c::init()
authorJesper Juhl <jj@chaosbits.net>
Thu, 9 Feb 2012 22:02:16 +0000 (23:02 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 14 Feb 2012 08:34:18 +0000 (16:34 +0800)
We can never reach the line just after the 'return 0'
statement. Remove it.

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

index 0afd134d8c9c9345d85c03846c50c22994afc57a..2c7f14ec70828445eeadf5e6e24d8c5383e13b52 100644 (file)
@@ -706,7 +706,6 @@ int __init init(void)
 
        return 0;
 
-       crypto_unregister_alg(&blk_xts_alg);
 blk_xts_err:
        crypto_unregister_alg(&blk_lrw_alg);
 blk_lrw_err: