From d32e9e9901044568408ca4ef06315cfca9176870 Mon Sep 17 00:00:00 2001 From: rwatson Date: Mon, 20 Jul 2009 13:55:33 +0000 Subject: Garbage collect vnet module registrations that have neither constructors nor destructors, as there's no actual work to do. In most cases, the constructors weren't needed because of the existing protocol initialization functions run by net_init_domain() as part of VNET_MOD_NET, or they were eliminated when support for static initialization of virtualized globals was added. Garbage collect dependency references to modules without constructors or destructors, notably VNET_MOD_INET and VNET_MOD_INET6. Reviewed by: bz Approved by: re (vimage blanket) --- sys/netinet6/mld6.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/netinet6/mld6.c') diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index 4b69da2..f47671e 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -3253,7 +3253,6 @@ vnet_mld_idetach(const void *unused __unused) static vnet_modinfo_t vnet_mld_modinfo = { .vmi_id = VNET_MOD_MLD, .vmi_name = "mld", - .vmi_dependson = VNET_MOD_INET6, .vmi_iattach = vnet_mld_iattach, .vmi_idetach = vnet_mld_idetach }; -- cgit v1.1