summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-02-09 23:02:16 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2012-02-14 16:34:18 +0800
commit8d21190e223a785a351a1078ac6e3700809969b6 (patch)
tree80549a6f6e39247cf383b1e47b0518cf34cc3f85
parent0cfdec7a65c98de6637e547a04a33969dc9c61b1 (diff)
downloadop-kernel-dev-8d21190e223a785a351a1078ac6e3700809969b6.zip
op-kernel-dev-8d21190e223a785a351a1078ac6e3700809969b6.tar.gz
crypto: twofish-x86 - Remove dead code from twofish_glue_3way.c::init()
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>
-rw-r--r--arch/x86/crypto/twofish_glue_3way.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/crypto/twofish_glue_3way.c b/arch/x86/crypto/twofish_glue_3way.c
index 0afd134..2c7f14e 100644
--- a/arch/x86/crypto/twofish_glue_3way.c
+++ b/arch/x86/crypto/twofish_glue_3way.c
@@ -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:
OpenPOWER on IntegriCloud