Re: [PATCH] crypto: qce - simplify control flow in register functions

From: Herbert Xu

Date: Fri Sep 04 2026 - 06:11:16 EST


On Sat, Aug 15, 2026 at 05:09:47PM +0200, Thorsten Blum wrote:
> Remove the goto statements and handle errors directly to simplify the
> control flow in qce_aead_register(), qce_ahash_register(), and
> qce_skcipher_register().
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> drivers/crypto/qce/aead.c | 9 ++++-----
> drivers/crypto/qce/sha.c | 9 ++++-----
> drivers/crypto/qce/skcipher.c | 9 ++++-----
> 3 files changed, 12 insertions(+), 15 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