nexthops: remove redundant assignment to variable err
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Aug 2019 12:53:40 +0000 (13:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 22 Aug 2019 19:14:05 +0000 (12:14 -0700)
commitc76c992525245ec1c7b6738bf887c42099abab02
treef711f6fdb8e679b70a78b3b7f9b01dbea2e9d9bd
parent8da3803d1ac49a9e47e9059fecd07167d4139389
nexthops: remove redundant assignment to variable err

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@canonical.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/nexthop.c