PERFORCE change 163486 for review
Marko Zec
zec at FreeBSD.org
Thu Jun 4 14:01:26 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163486
Change 163486 by zec at zec_amdx4 on 2009/06/04 14:01:22
Trim unnecessary #ifdef sections.
Affected files ...
.. //depot/projects/vimage/src/sys/netinet6/mld6.c#28 edit
Differences ...
==== //depot/projects/vimage/src/sys/netinet6/mld6.c#28 (text+ko) ====
@@ -149,13 +149,8 @@
static int sysctl_mld_gsr(SYSCTL_HANDLER_ARGS);
static int sysctl_mld_ifinfo(SYSCTL_HANDLER_ARGS);
-#ifdef VIMAGE
static vnet_attach_fn vnet_mld_iattach;
static vnet_detach_fn vnet_mld_idetach;
-#else
-static int vnet_mld_iattach(const void *);
-static int vnet_mld_idetach(const void *);
-#endif /* VIMAGE */
/*
* Normative references: RFC 2710, RFC 3590, RFC 3810.
@@ -3296,9 +3291,7 @@
break;
case MOD_UNLOAD:
#ifndef VIMAGE_GLOBALS
-#ifdef NOTYET
vnet_mod_deregister(&vnet_mld_modinfo);
-#endif
#else
vnet_mld_idetach(NULL);
#endif
More information about the p4-projects
mailing list