Skip to content

Commit 7cc26d4

Browse files
ebiggersherbertx
authored andcommitted
crypto: x86/aegis128 - remove unneeded RETs
Remove returns that are immediately followed by another return. Reviewed-by: Ondrej Mosnacek <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent a09be03 commit 7cc26d4

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

arch/x86/crypto/aegis128-aesni-asm.S

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,8 +278,6 @@ SYM_FUNC_START(aegis128_aesni_ad)
278278
movdqu STATE3, 0x20(STATEP)
279279
movdqu STATE4, 0x30(STATEP)
280280
movdqu STATE0, 0x40(STATEP)
281-
RET
282-
283281
.Lad_out:
284282
RET
285283
SYM_FUNC_END(aegis128_aesni_ad)
@@ -371,8 +369,6 @@ SYM_FUNC_START(aegis128_aesni_enc)
371369
movdqu STATE2, 0x20(STATEP)
372370
movdqu STATE3, 0x30(STATEP)
373371
movdqu STATE4, 0x40(STATEP)
374-
RET
375-
376372
.Lenc_out:
377373
RET
378374
SYM_FUNC_END(aegis128_aesni_enc)
@@ -506,8 +502,6 @@ SYM_FUNC_START(aegis128_aesni_dec)
506502
movdqu STATE2, 0x20(STATEP)
507503
movdqu STATE3, 0x30(STATEP)
508504
movdqu STATE4, 0x40(STATEP)
509-
RET
510-
511505
.Ldec_out:
512506
RET
513507
SYM_FUNC_END(aegis128_aesni_dec)

0 commit comments

Comments
 (0)