svn commit: r246939 - user/ae/inet6/sys/netinet6
Andrey V. Elsukov
ae at FreeBSD.org
Mon Feb 18 09:07:59 UTC 2013
Author: ae
Date: Mon Feb 18 09:07:59 2013
New Revision: 246939
URL: http://svnweb.freebsd.org/changeset/base/246939
Log:
Remove unused variable.
Modified:
user/ae/inet6/sys/netinet6/nd6.c
Modified: user/ae/inet6/sys/netinet6/nd6.c
==============================================================================
--- user/ae/inet6/sys/netinet6/nd6.c Mon Feb 18 08:24:39 2013 (r246938)
+++ user/ae/inet6/sys/netinet6/nd6.c Mon Feb 18 09:07:59 2013 (r246939)
@@ -120,8 +120,6 @@ VNET_DEFINE(struct nd_prhead, nd_prefix)
VNET_DEFINE(int, nd6_recalc_reachtm_interval) = ND6_RECALC_REACHTM_INTERVAL;
#define V_nd6_recalc_reachtm_interval VNET(nd6_recalc_reachtm_interval)
-static struct sockaddr_in6 all1_sa;
-
int (*send_sendso_input_hook)(struct mbuf *, struct ifnet *, int, int);
static int nd6_is_new_addr_neighbor(struct sockaddr_in6 *,
@@ -141,15 +139,9 @@ VNET_DEFINE(struct callout, nd6_timer_ch
void
nd6_init(void)
{
- int i;
LIST_INIT(&V_nd_prefix);
- all1_sa.sin6_family = AF_INET6;
- all1_sa.sin6_len = sizeof(struct sockaddr_in6);
- for (i = 0; i < sizeof(all1_sa.sin6_addr); i++)
- all1_sa.sin6_addr.s6_addr[i] = 0xff;
-
/* initialization of the default router list */
TAILQ_INIT(&V_nd_defrouter);
More information about the svn-src-user
mailing list