diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-12-11 11:15:55 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-12-19 14:47:47 +0800 |
| commit | 32c539884d098345bf0fa8554ff2118be7571879 (patch) | |
| tree | 570c9413dcd1347431de77f31f42f306ee3a2773 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 0e602c5f04943a0a123aef69076ef9305c484c53 (diff) | |
crypto: algapi - Use crypto_unregister_algs in crypto_register_algs
Replace the for loop with a call to crypto_unregister_algs(). Return
'ret' immediately and remove the goto statement to simplify the error
handling code.
In crypto_unregister_algs(), unregister the algorithms in reverse order.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
