summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto
diff options
context:
space:
mode:
authorJohannes Goetzfried <Johannes.Goetzfried@informatik.stud.uni-erlangen.de>2012-07-05 20:43:58 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-11 11:08:30 +0800
commita43478863b16cb0986fd2ec9d1f1b9ebaaec5922 (patch)
treea86e7d5311e123d1687c2241ce73e7616deec652 /arch/x86/crypto
parente46e9a46386bca8e80a6467b5c643dc494861896 (diff)
crypto: twofish-avx - remove useless instruction
The register %rdx is written, but never read till the end of the encryption routine. Therefore let's delete the useless instruction. Signed-off-by: Johannes Goetzfried <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto')
-rw-r--r--arch/x86/crypto/twofish-avx-x86_64-asm_64.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/crypto/twofish-avx-x86_64-asm_64.S b/arch/x86/crypto/twofish-avx-x86_64-asm_64.S
index fc31b89ba4c..35f45574390 100644
--- a/arch/x86/crypto/twofish-avx-x86_64-asm_64.S
+++ b/arch/x86/crypto/twofish-avx-x86_64-asm_64.S
@@ -243,7 +243,6 @@ __twofish_enc_blk_8way:
popq %rbx;
leaq (4*4*4)(%rsi), %rax;
- leaq (4*4*4)(%rax), %rdx;
testb %cl, %cl;
jnz __enc_xor8;