Re: [PATCH] ipv6: remove redundant assignment to variable err

2020-09-11 Thread David Miller
From: Colin King Date: Fri, 11 Sep 2020 11:35:09 +0100 > From: Colin Ian King > > The variable err 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 re-order variable declarations in

Re: [PATCH] ipv6: remove redundant assignment to variable err

2020-09-11 Thread David Ahern
On 9/11/20 4:35 AM, Colin King wrote: > From: Colin Ian King > > The variable err 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 re-order variable declarations in reverse > Christma

[PATCH] ipv6: remove redundant assignment to variable err

2020-09-11 Thread Colin King
From: Colin Ian King The variable err 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 re-order variable declarations in reverse Christmas tree ordering. Addresses-Coverity: ("Unused val