summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv6/route.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index f786aed02a6e..7e9443f835f9 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -1075,11 +1075,9 @@ out:
1075 1075
1076int icmp6_dst_gc(void) 1076int icmp6_dst_gc(void)
1077{ 1077{
1078 struct dst_entry *dst, *next, **pprev; 1078 struct dst_entry *dst, **pprev;
1079 int more = 0; 1079 int more = 0;
1080 1080
1081 next = NULL;
1082
1083 spin_lock_bh(&icmp6_dst_lock); 1081 spin_lock_bh(&icmp6_dst_lock);
1084 pprev = &icmp6_dst_gc_list; 1082 pprev = &icmp6_dst_gc_list;
1085 1083