diff options
author | Robert Watson <rwatson@FreeBSD.org> | 2009-07-20 13:55:33 +0000 |
---|---|---|
committer | Robert Watson <rwatson@FreeBSD.org> | 2009-07-20 13:55:33 +0000 |
commit | 0a4747d4d0dd9743e3af7cf698c323aff1a948cb (patch) | |
tree | 231030d22abc459d39df8da66a6762eaed12da1f /sys/net/flowtable.c | |
parent | 331f6857439b5f1b05521669d15fe1d694c0d155 (diff) | |
download | src-0a4747d4d0dd9743e3af7cf698c323aff1a948cb.tar.gz src-0a4747d4d0dd9743e3af7cf698c323aff1a948cb.zip |
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)
Notes
Notes:
svn path=/head/; revision=195782
Diffstat (limited to 'sys/net/flowtable.c')
-rw-r--r-- | sys/net/flowtable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c index c7c1b72ac6b4..d16ffa30d242 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 }; |