summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/twofish_glue_3way.c
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 09:34:18 +0100
commit8d21190e223a785a351a1078ac6e3700809969b6 (patch)
tree80549a6f6e39247cf383b1e47b0518cf34cc3f85 /arch/x86/crypto/twofish_glue_3way.c
parentcrypto: In crypto_add_alg(), 'exact' wants to be initialized to 0 (diff)
downloadlinux-8d21190e223a785a351a1078ac6e3700809969b6.tar.xz
linux-8d21190e223a785a351a1078ac6e3700809969b6.zip
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: