Re: [PATCH] hwrng: core: remove redundant initialization of variable ret

2020-07-31 Thread Herbert Xu
Colin King wrote: > From: Colin Ian King > > The variable ret is being initialized with a value that is never read > and it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King >

[PATCH] hwrng: core: remove redundant initialization of variable ret

2020-07-24 Thread Colin King
From: Colin Ian King The variable ret is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King --- drivers/char/hw_random/core.c |