commit | e9476e95d8707d1567d1af60df2c1f19630219a3 | [log] [tgz] |
---|---|---|
author | Hagen Paul Pfeifer <hagen@jauu.net> | Fri Feb 25 05:45:19 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 25 14:00:22 2011 -0800 |
tree | 54f6de320be67fe161f65e2c472664ed6d1be0d9 | |
parent | 96d796a38e9ec9a7c04a6cda3fc15d79efebb008 [diff] [blame] |
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>
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index f786aed..7e9443f 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c
@@ -1075,11 +1075,9 @@ 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;