]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc64aa843acc3b5080c8211a6d6babb9fd9d8f109
treef711f6fdb8e679b70a78b3b7f9b01dbea2e9d9bd
parentb8ec8ab2003bb06f99501346d7798e0cb1674b7f
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