summaryrefslogtreecommitdiff
path: root/arch/x86/crypto/twofish_glue_3way.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2012-02-10 02:02:16 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-02-14 12:34:18 +0400
commit8d21190e223a785a351a1078ac6e3700809969b6 (patch)
tree80549a6f6e39247cf383b1e47b0518cf34cc3f85 /arch/x86/crypto/twofish_glue_3way.c
parent0cfdec7a65c98de6637e547a04a33969dc9c61b1 (diff)
downloadlinux-8d21190e223a785a351a1078ac6e3700809969b6.tar.xz
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>
Diffstat (limited to 'arch/x86/crypto/twofish_glue_3way.c')
-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 0afd134d8c9c..2c7f14ec7082 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: