linux/net/mpls
Dan Carpenter 5a9348b54d 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>
2015-08-06 21:56:55 -07:00
..
af_mpls.c mpls: small cleanup in inet/inet6_fib_lookup_dev() 2015-08-06 21:56:55 -07:00
internal.h mpls: export mpls functions for use by mpls iptunnels 2015-07-21 10:39:04 -07:00
Kconfig mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
Makefile mpls: ip tunnel support 2015-07-21 10:39:05 -07:00
mpls_gso.c net: Add priority to packet_offload objects. 2015-06-01 14:56:09 -07:00
mpls_iptunnel.c mpls_iptunnel: fix sparse warn: remove incorrect rcu_dereference 2015-07-22 10:50:23 -07:00