aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/route.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2014-03-23 23:03:10 -0400
committerDavid S. Miller <davem@davemloft.net>2014-03-24 00:18:44 -0400
commit4a4eb21fd6e3de1196cb67c856c5f89a84b555be (patch)
treeb8507f7290cfef7282287554436c786867d730c5 /net/ipv4/route.c
parent99f0b958b194f7d88973f1c2190d207e0a2c7e79 (diff)
ipv4: remove ipv4_ifdown_dst from route.c
ipv4_ifdown_dst does 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.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 11e4384daaf9..57527ee1867f 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -139,11 +139,6 @@ static void ip_do_redirect(struct dst_entry *dst, struct sock *sk,
139 struct sk_buff *skb); 139 struct sk_buff *skb);
140static void ipv4_dst_destroy(struct dst_entry *dst); 140static void ipv4_dst_destroy(struct dst_entry *dst);
141 141
142static void ipv4_dst_ifdown(struct dst_entry *dst, struct net_device *dev,
143 int how)
144{
145}
146
147static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) 142static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old)
148{ 143{
149 WARN_ON(1); 144 WARN_ON(1);
@@ -162,7 +157,6 @@ static struct dst_ops ipv4_dst_ops = {
162 .mtu = ipv4_mtu, 157 .mtu = ipv4_mtu,
163 .cow_metrics = ipv4_cow_metrics, 158 .cow_metrics = ipv4_cow_metrics,
164 .destroy = ipv4_dst_destroy, 159 .destroy = ipv4_dst_destroy,
165 .ifdown = ipv4_dst_ifdown,
166 .negative_advice = ipv4_negative_advice, 160 .negative_advice = ipv4_negative_advice,
167 .link_failure = ipv4_link_failure, 161 .link_failure = ipv4_link_failure,
168 .update_pmtu = ip_rt_update_pmtu, 162 .update_pmtu = ip_rt_update_pmtu,