Undo a change in my last commit that was not suppsoed to be committed. trunk
authordyoung <dyoung@NetBSD.org>
Fri, 24 Oct 2008 17:14:29 +0000
branchtrunk
changeset 174381 8ac75386a200
parent 174380 97aadb5a046c
child 174382 e41e987ccf02
Undo a change in my last commit that was not suppsoed to be committed.
sys/net/if.c
--- a/sys/net/if.c	Fri Oct 24 17:07:33 2008 +0000
+++ b/sys/net/if.c	Fri Oct 24 17:14:29 2008 +0000
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.228 2008/10/24 17:07:33 dyoung Exp $	*/
+/*	$NetBSD: if.c,v 1.229 2008/10/24 17:14:29 dyoung Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.228 2008/10/24 17:07:33 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.229 2008/10/24 17:14:29 dyoung Exp $");
 
 #include "opt_inet.h"
 
@@ -122,7 +122,6 @@
 #include <net/if_types.h>
 #include <net/radix.h>
 #include <net/route.h>
-#include <net/neticp.h>
 #include <net/netisr.h>
 #ifdef NETATALK
 #include <netatalk/at_extern.h>
@@ -989,8 +988,6 @@
 	ifa->ifa_ifp = ifp;
 	TAILQ_INSERT_TAIL(&ifp->if_addrlist, ifa, ifa_list);
 	IFAREF(ifa);
-	if (neticp_commpage != NULL)
-		neticp_commpage->ni_ifaddrs_gen++;
 }
 
 void
@@ -999,8 +996,6 @@
 	KASSERT(ifa->ifa_ifp == ifp);
 	TAILQ_REMOVE(&ifp->if_addrlist, ifa, ifa_list);
 	IFAFREE(ifa);
-	if (neticp_commpage != NULL)
-		neticp_commpage->ni_ifaddrs_gen++;
 }
 
 static inline int