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

From: David Miller
Date: Thu Aug 22 2019 - 15:14:33 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 22 Aug 2019 13:53:40 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable err is initialized to a value that is never read and it is
> re-assigned later. The initialization is redundant and can be removed.
>
> Addresses-Coverity: ("Unused Value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to net-next.