PERFORCE change 123689 for review

Marko Zec zec at FreeBSD.org
Wed Jul 18 14:44:28 UTC 2007


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

Change 123689 by zec at zec_tca51 on 2007/07/18 14:43:45

	net_detach_domain() is not needed in nooptions VIMAGE kernels.

Affected files ...

.. //depot/projects/vimage/src/sys/kern/uipc_domain.c#5 edit

Differences ...

==== //depot/projects/vimage/src/sys/kern/uipc_domain.c#5 (text+ko) ====

@@ -68,7 +68,9 @@
     NULL)
 
 static int net_init_domain(void *);
+#ifdef VIMAGE
 static int net_detach_domain(void *);
+#endif
 
 static struct callout pffast_callout;
 static struct callout pfslow_callout;
@@ -165,6 +167,7 @@
 	return 0;
 }
 
+#ifdef VIMAGE
 /*
  * Detach / free a domain instance.
  */
@@ -184,6 +187,7 @@
 
 	return 0;
 }
+#endif
 
 /*
  * Add a new protocol domain to the list of supported domains


More information about the p4-projects mailing list