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>
This commit is contained in:
committed by
David S. Miller
parent
96d796a38e
commit
e9476e95d8
@ -1075,11 +1075,9 @@ out:
|
|||||||
|
|
||||||
int icmp6_dst_gc(void)
|
int icmp6_dst_gc(void)
|
||||||
{
|
{
|
||||||
struct dst_entry *dst, *next, **pprev;
|
struct dst_entry *dst, **pprev;
|
||||||
int more = 0;
|
int more = 0;
|
||||||
|
|
||||||
next = NULL;
|
|
||||||
|
|
||||||
spin_lock_bh(&icmp6_dst_lock);
|
spin_lock_bh(&icmp6_dst_lock);
|
||||||
pprev = &icmp6_dst_gc_list;
|
pprev = &icmp6_dst_gc_list;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user