Skip to content

Commit

Permalink
crypto: twofish-x86 - Remove dead code from twofish_glue_3way.c::init()
Browse files Browse the repository at this point in the history
We can never reach the line just after the 'return 0'
statement. Remove it.

Signed-off-by: Jesper Juhl <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
jjuhl authored and herbertx committed Feb 14, 2012
1 parent 0cfdec7 commit 8d21190
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/crypto/twofish_glue_3way.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8d21190

Please sign in to comment.