diff options
author | Sergey Kandaurov <pluknet@FreeBSD.org> | 2012-01-25 08:53:42 +0000 |
---|---|---|
committer | Sergey Kandaurov <pluknet@FreeBSD.org> | 2012-01-25 08:53:42 +0000 |
commit | 8e4609a4a3201076c785435d80e425197f549c30 (patch) | |
tree | cf0f56418f7fb61fef1a1a323f1b4ed86c718d52 | |
parent | 2fae4c3d9539022980a143fbc653cbaab696f5aa (diff) | |
download | src-8e4609a4a3201076c785435d80e425197f549c30.tar.gz src-8e4609a4a3201076c785435d80e425197f549c30.zip |
Remove unused variable.
The actual ia6->ia6_lifetime access is hidden in
IFA6_IS_INVALID/IFA6_IS_DEPRECATED macros since a long time ago
(see netinet6/nd6.c, r1.104 of KAME for the reference).
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=230531
-rw-r--r-- | sys/netinet6/nd6.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 58af0beb2b5e..ec523fce2a95 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -575,7 +575,6 @@ nd6_timer(void *arg) struct nd_defrouter *dr, *ndr; struct nd_prefix *pr, *npr; struct in6_ifaddr *ia6, *nia6; - struct in6_addrlifetime *lt6; callout_reset(&V_nd6_timer_ch, V_nd6_prune * hz, nd6_timer, curvnet); @@ -598,7 +597,6 @@ nd6_timer(void *arg) addrloop: TAILQ_FOREACH_SAFE(ia6, &V_in6_ifaddrhead, ia_link, nia6) { /* check address lifetime */ - lt6 = &ia6->ia6_lifetime; if (IFA6_IS_INVALID(ia6)) { int regen = 0; |