From: Jesper Juhl Date: Thu, 9 Feb 2012 22:02:16 +0000 (+0100) Subject: crypto: twofish-x86 - Remove dead code from twofish_glue_3way.c::init() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8d21190e223a785a351a1078ac6e3700809969b6;p=linux-beck.git 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 Signed-off-by: Herbert Xu --- 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: