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-Tag: v3.4-rc1~166^2~17 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8d21190e223a785a351a1078ac6e3700809969b6;p=~emulex%2Finfiniband.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 0afd134d8c9..2c7f14ec708 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: