Thread (2 messages) 2 messages, 2 authors, 2020-07-25

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

From: David Miller <davem@davemloft.net>
Date: 2020-07-25 00:10:38
Also in: kernel-janitors, linux-sctp, lkml

From: Colin King <redacted>
Date: Fri, 24 Jul 2020 14:09:19 +0100
From: Colin Ian King <redacted>

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.  Also put the variable declarations into
reverse christmas tree order.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <redacted>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
---

V2: put variable declarations into reverse christmas tree order.
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help