summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2024-10-16 17:00:51 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2024-10-28 18:33:10 +0800
commit7cc26d4a5fcbd32e0841f0c4c426e6841019c582 (patch)
tree80829f935638082c3efcb1a8e8838b553567d084 /arch
parenta09be0354b9b17cee3306d8d7e84497d59fcf1cb (diff)
downloadlwn-7cc26d4a5fcbd32e0841f0c4c426e6841019c582.tar.gz
lwn-7cc26d4a5fcbd32e0841f0c4c426e6841019c582.zip
crypto: x86/aegis128 - remove unneeded RETs
Remove returns that are immediately followed by another return. Reviewed-by: Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/crypto/aegis128-aesni-asm.S6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/crypto/aegis128-aesni-asm.S b/arch/x86/crypto/aegis128-aesni-asm.S
index 42f25fea4e08..7294dc0ee7ba 100644
--- a/arch/x86/crypto/aegis128-aesni-asm.S
+++ b/arch/x86/crypto/aegis128-aesni-asm.S
@@ -278,8 +278,6 @@ SYM_FUNC_START(aegis128_aesni_ad)
movdqu STATE3, 0x20(STATEP)
movdqu STATE4, 0x30(STATEP)
movdqu STATE0, 0x40(STATEP)
- RET
-
.Lad_out:
RET
SYM_FUNC_END(aegis128_aesni_ad)
@@ -371,8 +369,6 @@ SYM_FUNC_START(aegis128_aesni_enc)
movdqu STATE2, 0x20(STATEP)
movdqu STATE3, 0x30(STATEP)
movdqu STATE4, 0x40(STATEP)
- RET
-
.Lenc_out:
RET
SYM_FUNC_END(aegis128_aesni_enc)
@@ -506,8 +502,6 @@ SYM_FUNC_START(aegis128_aesni_dec)
movdqu STATE2, 0x20(STATEP)
movdqu STATE3, 0x30(STATEP)
movdqu STATE4, 0x40(STATEP)
- RET
-
.Ldec_out:
RET
SYM_FUNC_END(aegis128_aesni_dec)