Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet6 - Remove unused variable from nd6_timer().



details:   https://anonhg.NetBSD.org/src/rev/cff48c9a3088
branches:  trunk
changeset: 771125:cff48c9a3088
user:      seanb <seanb%NetBSD.org@localhost>
date:      Thu Nov 10 17:10:00 2011 +0000

description:
- Remove unused variable from nd6_timer().

diffstat:

 sys/netinet6/nd6.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 3d2389ae6dbf -r cff48c9a3088 sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c        Thu Nov 10 16:44:47 2011 +0000
+++ b/sys/netinet6/nd6.c        Thu Nov 10 17:10:00 2011 +0000
@@ -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 @@
        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 @@
        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;
 



Home | Main Index | Thread Index | Old Index