]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5081a5e7e9ed941e0ca5f5911ee16cedf1f65b55
treed2b02fd6fdeb54f8a8cd2a0493b07a27ff698b0b
parentefc9543baa4eab4efe43832634f8ea406aa214bb
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