Remove unnecessary #ifdef lines and code.

Approved by:	julian (mentor)
This commit is contained in:
Marko Zec 2009-06-12 09:31:14 +00:00
parent eb4261851f
commit 878a6d7dff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194052

View File

@ -149,13 +149,8 @@ static int mld_v2_process_group_query(struct in6_multi *,
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 @@ mld_modevent(module_t mod, int type, void *unused __unused)
break;
case MOD_UNLOAD:
#ifndef VIMAGE_GLOBALS
#ifdef NOTYET
vnet_mod_deregister(&vnet_mld_modinfo);
#endif
#else
vnet_mld_idetach(NULL);
#endif