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)
downloadop-kernel-dev-a43478863b16cb0986fd2ec9d1f1b9ebaaec5922.zip
op-kernel-dev-a43478863b16cb0986fd2ec9d1f1b9ebaaec5922.tar.gz
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 fc31b89b..35f4557 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;
OpenPOWER on IntegriCloud