Re: [PATCH] crypto: artpec6 - refactor crypto_setup_out_descr for readability

From: Herbert Xu

Date: Fri May 15 2026 - 06:39:53 EST


On Wed, May 06, 2026 at 11:16:28AM +0200, Thorsten Blum wrote:
> Replace if-else with an early return to reduce code nesting, and move
> the variable declarations to the top of the function.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/crypto/axis/artpec6_crypto.c | 21 +++++++++------------
> 1 file changed, 9 insertions(+), 12 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt