]> git.baikalelectronics.ru Git - kernel.git/commit
nexthop: remove redundant assignment to err
authorColin Ian King <colin.king@canonical.com>
Thu, 30 May 2019 15:57:54 +0000 (16:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 May 2019 21:33:52 +0000 (14:33 -0700)
commit6f43e5252833f346be429e9cf6946fb8a1977d73
tree2967cc3d083e7a610171d66e431d9192a8f4db16
parent6912378d54a593dc8469f0ee18135ea62de48c50
nexthop: remove redundant assignment to err

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