crypto: qce - simplify devm_qce_register_algs

Drop the redundant ret = -ENODEV initialization. Use a while loop and
reuse the local index variable i on the error path.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Thorsten Blum 2026-07-31 12:25:32 +02:00 • committed by Herbert Xu
commit bf3285b7a7