Re: [PATCH][next] nexthop: remove redundant assignment to err

From: David Miller
Date: Fri May 31 2019 - 17:38:28 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 30 May 2019 16:57:54 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable err is initialized with a value that is never read
> and err is reassigned a few statements later. This initialization
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.