Re: [PATCH] sctp: remove redundant initialization of variable status

2020-07-24 Thread Colin Ian King
On 24/07/2020 13:55, Marcelo Ricardo Leitner wrote: > On Fri, Jul 24, 2020 at 01:17:53PM +0100, Colin King wrote: >> From: Colin Ian King >> >> The variable status is being initialized with a value that is never read >> and it is being updated later with a new value. The initialization is >> redu

Re: [PATCH] sctp: remove redundant initialization of variable status

2020-07-24 Thread Marcelo Ricardo Leitner
On Fri, Jul 24, 2020 at 01:17:53PM +0100, Colin King wrote: > From: Colin Ian King > > The variable status 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: ("Unuse

[PATCH] sctp: remove redundant initialization of variable status

2020-07-24 Thread Colin King
From: Colin Ian King The variable status 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 --- net/sctp/protocol.c | 2 +-