summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller2011-03-02 23:56:30 +0100
committerDavid S. Miller2011-03-02 23:56:30 +0100
commit5bfa787fb2c29cce0722500f90df29e049ff07fc (patch)
tree21e90db4a0d480e9f9e9b931ee71657f2843a629 /net/ipv4
parentipv4: Make output route lookup return rtable directly. (diff)
downloadkernel-qcow2-linux-5bfa787fb2c29cce0722500f90df29e049ff07fc.tar.gz
kernel-qcow2-linux-5bfa787fb2c29cce0722500f90df29e049ff07fc.tar.xz
kernel-qcow2-linux-5bfa787fb2c29cce0722500f90df29e049ff07fc.zip
ipv4: ip_route_output_key() is better as an inline.
This avoid a stack frame at zero cost. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/route.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 5090e956f6b8..432eee645648 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2736,12 +2736,6 @@ struct rtable *ip_route_output_flow(struct net *net, struct flowi *flp,
}
EXPORT_SYMBOL_GPL(ip_route_output_flow);
-struct rtable *ip_route_output_key(struct net *net, struct flowi *flp)
-{
- return ip_route_output_flow(net, flp, NULL);
-}
-EXPORT_SYMBOL(ip_route_output_key);
-
static int rt_fill_info(struct net *net,
struct sk_buff *skb, u32 pid, u32 seq, int event,
int nowait, unsigned int flags)