summaryrefslogtreecommitdiffstats
path: root/sys/net/flowtable.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-07-20 13:55:33 +0000
committerrwatson <rwatson@FreeBSD.org>2009-07-20 13:55:33 +0000
commitd32e9e9901044568408ca4ef06315cfca9176870 (patch)
tree231030d22abc459d39df8da66a6762eaed12da1f /sys/net/flowtable.c
parentd1ac98198b3b8168b7cd32bf3434b7dfdacb6f44 (diff)
downloadFreeBSD-src-d32e9e9901044568408ca4ef06315cfca9176870.zip
FreeBSD-src-d32e9e9901044568408ca4ef06315cfca9176870.tar.gz
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)
Diffstat (limited to 'sys/net/flowtable.c')
-rw-r--r--sys/net/flowtable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c
index c7c1b72..d16ffa3 100644
--- a/sys/net/flowtable.c
+++ b/sys/net/flowtable.c
@@ -180,7 +180,6 @@ static int flowtable_idetach(const void *);
static const vnet_modinfo_t flowtable_modinfo = {
.vmi_id = VNET_MOD_FLOWTABLE,
.vmi_name = "flowtable",
- .vmi_dependson = VNET_MOD_INET,
.vmi_iattach = flowtable_iattach,
.vmi_idetach = flowtable_idetach
};
OpenPOWER on IntegriCloud