Browse Source

ipv6: variable next is never used in this function

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Hagen Paul Pfeifer 14 năm trước cách đây
mục cha
commit
e9476e95d8
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      net/ipv6/route.c

+ 1 - 3
net/ipv6/route.c

@@ -1075,11 +1075,9 @@ out:
 
 int icmp6_dst_gc(void)
 {
-	struct dst_entry *dst, *next, **pprev;
+	struct dst_entry *dst, **pprev;
 	int more = 0;
 
-	next = NULL;
-
 	spin_lock_bh(&icmp6_dst_lock);
 	pprev = &icmp6_dst_gc_list;