PERFORCE change 154388 for review

Qing Li qingli at FreeBSD.org
Tue Dec 9 00:50:42 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=154388

Change 154388 by qingli at FreeBSD-newarp on 2008/12/09 08:49:42

	remove unused variables and fix broken build

Affected files ...

.. //depot/projects/arp-v2/src/sys/netinet6/nd6.c#12 edit
.. //depot/projects/arp-v2/src/sys/netinet6/vinet6.h#3 edit

Differences ...

==== //depot/projects/arp-v2/src/sys/netinet6/nd6.c#12 (text+ko) ====

@@ -99,11 +99,6 @@
 
 int nd6_debug;
 
-/* for debugging? */
-/*
-static int nd6_inuse, nd6_allocated;
-struct llinfo_nd6 llinfo_nd6;
-
 struct nd_drhead nd_defrouter;
 struct nd_prhead nd_prefix;
 
@@ -165,8 +160,6 @@
 	V_dad_ignore_ns = 0;	/* ignore NS in DAD - specwise incorrect*/
 	V_dad_maxtry = 15;	/* max # of *tries* to transmit DAD packet */
 
-	V_llinfo_nd6.ln_next = &V_llinfo_nd6;
-	V_llinfo_nd6.ln_prev = &V_llinfo_nd6;
 	LIST_INIT(&V_nd_prefix);
 
 	ip6_use_tempaddr = 0;

==== //depot/projects/arp-v2/src/sys/netinet6/vinet6.h#3 (text+ko) ====

@@ -77,7 +77,6 @@
 
 	int				_nd6_inuse;
 	int				_nd6_allocated;
-	struct llinfo_nd6		_llinfo_nd6;
 	struct nd_drhead		_nd_defrouter;
 	struct nd_prhead 		_nd_prefix;
 	struct ifnet *			_nd6_defifp;


More information about the p4-projects mailing list