Author: kevlo
Date: Fri Mar 22 01:45:54 2013
New Revision: 248608
URL: http://svnweb.freebsd.org/changeset/base/248608

Log:
  Clean up some unused leftover code.
  
  Pointed out by:       ae

Modified:
  head/sys/netinet6/nd6.c

Modified: head/sys/netinet6/nd6.c
==============================================================================
--- head/sys/netinet6/nd6.c     Fri Mar 22 01:40:17 2013        (r248607)
+++ head/sys/netinet6/nd6.c     Fri Mar 22 01:45:54 2013        (r248608)
@@ -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);
 
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to