Re: [PATCH] integrity: remove redundant initialization of variable ret

2020-07-27 Thread Mimi Zohar
On Tue, 2020-07-28 at 04:05 +1000, James Morris wrote: > On Wed, 1 Jul 2020, 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

Re: [PATCH] integrity: remove redundant initialization of variable ret

2020-07-27 Thread James Morris
On Wed, 1 Jul 2020, 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-b

[PATCH] integrity: remove redundant initialization of variable ret

2020-07-01 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 --- security/integrity/digsig_asymm