diff options
author | phk <phk@FreeBSD.org> | 2003-04-23 06:54:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-23 06:54:44 +0000 |
commit | ee10d5398635179dbb8ae9f414fb9946308171f3 (patch) | |
tree | 8e9ab1c025dd03c83cf780122ce44c7197967a8d /sys/geom/geom_subr.c | |
parent | 1084635f08332cecc2ce511c3c6b1c0a9f6d1f14 (diff) | |
download | FreeBSD-src-ee10d5398635179dbb8ae9f414fb9946308171f3.zip FreeBSD-src-ee10d5398635179dbb8ae9f414fb9946308171f3.tar.gz |
Remove unused event pointers in object structures.
Remove KASSERTS which checked that they were unused.
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r-- | sys/geom/geom_subr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index a74cadb..54b03f9 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -110,7 +110,6 @@ g_destroy_geom(struct g_geom *gp) g_trace(G_T_TOPOLOGY, "g_destroy_geom(%p(%s))", gp, gp->name); g_topology_assert(); - KASSERT(gp->event == NULL, ("g_destroy_geom() with event")); KASSERT(LIST_EMPTY(&gp->consumer), ("g_destroy_geom(%s) with consumer(s) [%p]", gp->name, LIST_FIRST(&gp->consumer))); @@ -149,7 +148,6 @@ g_destroy_consumer(struct g_consumer *cp) g_trace(G_T_TOPOLOGY, "g_destroy_consumer(%p)", cp); g_topology_assert(); - KASSERT(cp->event == NULL, ("g_destroy_consumer() with event")); KASSERT (cp->provider == NULL, ("g_destroy_consumer but attached")); KASSERT (cp->acr == 0, ("g_destroy_consumer with acr")); KASSERT (cp->acw == 0, ("g_destroy_consumer with acw")); @@ -203,7 +201,6 @@ g_destroy_provider(struct g_provider *pp) struct g_consumer *cp; g_topology_assert(); - KASSERT(pp->event == NULL, ("g_destroy_provider() with event")); KASSERT(LIST_EMPTY(&pp->consumers), ("g_destroy_provider but attached")); KASSERT (pp->acr == 0, ("g_destroy_provider with acr")); |