]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: acomp - Use unregister_acomps in register_acomps
authorThorsten Blum <thorsten.blum@linux.dev>
Fri, 19 Dec 2025 14:51:17 +0000 (15:51 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jan 2026 05:48:42 +0000 (13:48 +0800)
commitfbbc944b5945bfd2715a3d762784c318a040f36a
tree1ce475adaba126eeb253085e6d3c10e4db3b197d
parent4154f7d3b1c133b909d20c44ecb8277e8482aa6b
crypto: acomp - Use unregister_acomps in register_acomps

Replace the for loop with a call to crypto_unregister_acomps(). Return
'ret' immediately and remove the goto statement to simplify the error
handling code.  No functional changes.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/acompress.c