From: Hagen Paul Pfeifer Date: Fri, 25 Feb 2011 05:45:19 +0000 (+0000) Subject: ipv6: variable next is never used in this function X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e9476e95d8707d1567d1af60df2c1f19630219a3;p=openwrt%2Fstaging%2Fblogic.git ipv6: variable next is never used in this function Signed-off-by: Hagen Paul Pfeifer Signed-off-by: David S. Miller --- 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;