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

From: David Miller
Date: Fri Sep 11 2020 - 17:48:50 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Fri, 11 Sep 2020 11:35:09 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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 value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.