aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2015-08-04 10:44:22 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-06 21:56:55 -0700
commit5a9348b54d396c0b8bb877abcb107293034a87de (patch)
tree4e5da9caa8ad15e4765690ebce4be1bf1b8c0726 /net/tipc
parentMerge branch 'bnx2x-cnic-bnx2fc-bd-support' (diff)
downloadlinux-dev-5a9348b54d396c0b8bb877abcb107293034a87de.tar.xz
linux-dev-5a9348b54d396c0b8bb877abcb107293034a87de.zip
mpls: small cleanup in inet/inet6_fib_lookup_dev()
We recently changed this code from returning NULL to returning ERR_PTR. There are some left over NULL assignments which we can remove. We can preserve the error code from ip_route_output() instead of always returning -ENODEV. Also these functions use a mix of gotos and direct returns. There is no cleanup necessary so I changed the gotos to direct returns. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com> Acked-by: Robert Shearman <rshearma@brocade.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions