svn commit: r249837 - head/sys/netinet6

Andrey V. Elsukov ae at FreeBSD.org
Wed Apr 24 10:24:02 UTC 2013


Author: ae
Date: Wed Apr 24 10:24:01 2013
New Revision: 249837
URL: http://svnweb.freebsd.org/changeset/base/249837

Log:
  Remove unused variable.
  
  MFC after:	1 week

Modified:
  head/sys/netinet6/in6_pcb.c
  head/sys/netinet6/in6_var.h

Modified: head/sys/netinet6/in6_pcb.c
==============================================================================
--- head/sys/netinet6/in6_pcb.c	Wed Apr 24 10:20:21 2013	(r249836)
+++ head/sys/netinet6/in6_pcb.c	Wed Apr 24 10:24:01 2013	(r249837)
@@ -106,8 +106,6 @@ __FBSDID("$FreeBSD$");
 #include <netinet6/in6_pcb.h>
 #include <netinet6/scope6_var.h>
 
-struct	in6_addr zeroin6_addr;
-
 int
 in6_pcbbind(register struct inpcb *inp, struct sockaddr *nam,
     struct ucred *cred)

Modified: head/sys/netinet6/in6_var.h
==============================================================================
--- head/sys/netinet6/in6_var.h	Wed Apr 24 10:20:21 2013	(r249836)
+++ head/sys/netinet6/in6_var.h	Wed Apr 24 10:24:01 2013	(r249837)
@@ -542,7 +542,6 @@ do {								\
 		((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->in6_ifstat->tag++; \
 } while (/*CONSTCOND*/ 0)
 
-extern struct in6_addr zeroin6_addr;
 extern u_char inet6ctlerrmap[];
 VNET_DECLARE(unsigned long, in6_maxmtu);
 #define	V_in6_maxmtu			VNET(in6_maxmtu)


More information about the svn-src-head mailing list