crypto: x86/aegis128 - remove unneeded RETs
authorEric Biggers <ebiggers@google.com>
Thu, 17 Oct 2024 00:00:51 +0000 (17:00 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 28 Oct 2024 10:33:10 +0000 (18:33 +0800)
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>
arch/x86/crypto/aegis128-aesni-asm.S

index 42f25fe..7294dc0 100644 (file)
@@ -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)