Module Name:    src
Committed By:   seanb
Date:           Thu Nov 10 17:10:00 UTC 2011

Modified Files:
        src/sys/netinet6: nd6.c

Log Message:
- Remove unused variable from nd6_timer().


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/sys/netinet6/nd6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet6/nd6.c
diff -u src/sys/netinet6/nd6.c:1.136 src/sys/netinet6/nd6.c:1.137
--- src/sys/netinet6/nd6.c:1.136	Thu Jul 15 19:15:30 2010
+++ src/sys/netinet6/nd6.c	Thu Nov 10 17:10:00 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: nd6.c,v 1.136 2010/07/15 19:15:30 dyoung Exp $	*/
+/*	$NetBSD: nd6.c,v 1.137 2011/11/10 17:10:00 seanb Exp $	*/
 /*	$KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $	*/
 
 /*
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.136 2010/07/15 19:15:30 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.137 2011/11/10 17:10:00 seanb Exp $");
 
 #include "opt_ipsec.h"
 
@@ -524,7 +524,6 @@ nd6_timer(void *ignored_arg)
 	struct nd_defrouter *next_dr, *dr;
 	struct nd_prefix *next_pr, *pr;
 	struct in6_ifaddr *ia6, *nia6;
-	struct in6_addrlifetime *lt6;
 
 	callout_reset(&nd6_timer_ch, nd6_prune * hz,
 	    nd6_timer, NULL);
@@ -551,7 +550,6 @@ nd6_timer(void *ignored_arg)
 	for (ia6 = in6_ifaddr; ia6; ia6 = nia6) {
 		nia6 = ia6->ia_next;
 		/* check address lifetime */
-		lt6 = &ia6->ia6_lifetime;
 		if (IFA6_IS_INVALID(ia6)) {
 			int regen = 0;
 

Reply via email to