Re: [PATCH] crypto: rng - Use unregister_rngs in register_rngs

From: Herbert Xu

Date: Fri Feb 06 2026 - 05:59:44 EST


On Mon, Jan 26, 2026 at 06:50:18PM +0100, Thorsten Blum wrote:
> Replace the for loop with a call to crypto_unregister_rngs(). Return
> 'ret' immediately and remove the goto statement to simplify the error
> handling code. No functional changes.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@xxxxxxxxx>
> ---
> crypto/rng.c | 12 ++++--------
> 1 file changed, 4 insertions(+), 8 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