Re: [PATCH v2] hwrng: cctrng - drop redundant initializations
From: Herbert Xu
Date: Thu Oct 08 2026 - 04:31:19 EST
On Thu, Oct 01, 2026 at 05:06:04PM +0200, Thorsten Blum wrote:
> The variables are reassigned before their initial values are read - drop
> the redundant initializations.
>
> Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
> ---
> Changes in v2:
> - Missed two redundant initializations
> - v1: https://lore.kernel.org/r/20260930200139.110437-4-blum@xxxxxxxxxx/
> ---
> drivers/char/hw_random/cctrng.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 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