summaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2014-03-21 11:33:10 +0800
committerDavid S. Miller <davem@davemloft.net>2014-03-24 12:45:01 -0400
commit0b8c7f6f2a26ed2dee24881299fc69f554596dbb (patch)
tree4a3d036c5a9241dee7c438dd16d48c58a5076485 /net/ipv4/route.c
parentdffe278f0a3755bc00b3dd48c45fa6992458520d (diff)
downloadop-kernel-dev-0b8c7f6f2a26ed2dee24881299fc69f554596dbb.zip
op-kernel-dev-0b8c7f6f2a26ed2dee24881299fc69f554596dbb.tar.gz
ipv4: remove ip_rt_dump from route.c
ip_rt_dump do nothing after IPv4 route caches removal, so we can remove it. Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/route.c')
-rw-r--r--net/ipv4/route.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 57527ee..1be9e99 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2468,11 +2468,6 @@ errout_free:
goto errout;
}
-int ip_rt_dump(struct sk_buff *skb, struct netlink_callback *cb)
-{
- return skb->len;
-}
-
void ip_rt_multicast_event(struct in_device *in_dev)
{
rt_cache_flush(dev_net(in_dev->dev));
OpenPOWER on IntegriCloud