diff options
author | Hagen Paul Pfeifer <hagen@jauu.net> | 2011-02-25 06:45:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-25 23:00:22 +0100 |
commit | e9476e95d8707d1567d1af60df2c1f19630219a3 (patch) | |
tree | 54f6de320be67fe161f65e2c472664ed6d1be0d9 /net/ipv6 | |
parent | ipv6: hash is calculated but not used afterwards (diff) | |
download | linux-e9476e95d8707d1567d1af60df2c1f19630219a3.tar.xz linux-e9476e95d8707d1567d1af60df2c1f19630219a3.zip |
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/route.c | 4 |
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: 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; |