summaryrefslogtreecommitdiff
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r--net/ipv6/route.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index b643dda68d31..76889ceeead9 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -3294,10 +3294,6 @@ static void ip6_dst_gc(struct dst_ops *ops)
unsigned int val;
int entries;
- entries = dst_entries_get_fast(ops);
- if (entries > ops->gc_thresh)
- entries = dst_entries_get_slow(ops);
-
if (time_after(rt_last_gc + rt_min_interval, jiffies))
goto out;