projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cfdec7
)
crypto: twofish-x86 - Remove dead code from twofish_glue_3way.c::init()
author
Jesper Juhl
<jj@chaosbits.net>
Thu, 9 Feb 2012 22:02:16 +0000
(23:02 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 14 Feb 2012 08:34:18 +0000
(16:34 +0800)
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>
arch/x86/crypto/twofish_glue_3way.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/crypto/twofish_glue_3way.c
b/arch/x86/crypto/twofish_glue_3way.c
index 0afd134d8c9c9345d85c03846c50c22994afc57a..2c7f14ec70828445eeadf5e6e24d8c5383e13b52 100644
(file)
--- 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: