diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-23 06:54:44 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2003-04-23 06:54:44 +0000 |
commit | 668ae29c7105c2bb951be95ad769d5a7798a668c (patch) | |
tree | 8e9ab1c025dd03c83cf780122ce44c7197967a8d /sys/geom/geom.h | |
parent | fd19a462653016a1bd0e65471fa2f103ba23ed8d (diff) | |
download | src-668ae29c7105c2bb951be95ad769d5a7798a668c.tar.gz src-668ae29c7105c2bb951be95ad769d5a7798a668c.zip |
Remove unused event pointers in object structures.
Remove KASSERTS which checked that they were unused.
Notes
Notes:
svn path=/head/; revision=113889
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index f8e227bb57c9..f09972aa731a 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -49,7 +49,6 @@ struct g_class; struct g_geom; struct g_consumer; struct g_provider; -struct g_event; struct g_stat; struct thread; struct bio; @@ -95,14 +94,12 @@ struct g_class { */ LIST_ENTRY(g_class) class; LIST_HEAD(,g_geom) geom; - struct g_event *event; u_int protect; }; #define G_CLASS_INITIALIZER \ .class = { 0, 0 }, \ .geom = { 0 }, \ - .event = 0, \ .protect = 0 /* @@ -123,7 +120,6 @@ struct g_geom { g_access_t *access; g_orphan_t *orphan; void *softc; - struct g_event *event; unsigned flags; #define G_GEOM_WITHER 1 }; @@ -152,7 +148,6 @@ struct g_consumer { struct g_provider *provider; LIST_ENTRY(g_consumer) consumers; /* XXX: better name */ int acr, acw, ace; - struct g_event *event; int spoiled; struct devstat *stat; u_int nstart, nend; @@ -169,7 +164,6 @@ struct g_provider { LIST_HEAD(,g_consumer) consumers; int acr, acw, ace; int error; - struct g_event *event; TAILQ_ENTRY(g_provider) orphan; u_int index; off_t mediasize; |