net: Remove martian_source_keep_err goto label
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 28 Sep 2015 18:10:44 +0000 (11:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Sep 2015 23:27:47 +0000 (16:27 -0700)
commit0d7539603bba77b72679d53e7d7eb84c16dd76d8
treed2b02fd6fdeb54f8a8cd2a0493b07a27ff698b0b
parent75fea73dce4ed7c1725f9f5c0adf5aecc8d0fcfd
net: Remove martian_source_keep_err goto label

err is initialized to -EINVAL when it is declared. It is not reset until
fib_lookup which is well after the 3 users of the martian_source jump. So
resetting err to -EINVAL at martian_source label is not needed.

Removing that line obviates the need for the martian_source_keep_err label
so delete it.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c