summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 16:59:27 +0000
committerphk <phk@FreeBSD.org>2003-05-31 16:59:27 +0000
commite2298826ec1c412444f7feac518da51c4b7de988 (patch)
treeb1566f106eb6a8e53ceaab855d02b9d6807c3add /sys/geom/geom.h
parentdc5b07a729fa86298afcafa5a2ff51ef51bcedd7 (diff)
downloadFreeBSD-src-e2298826ec1c412444f7feac518da51c4b7de988.zip
FreeBSD-src-e2298826ec1c412444f7feac518da51c4b7de988.tar.gz
Remove the G_CLASS_INITIALIZER, we do not need it anymore.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index d90d2ce..73121edb 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -89,19 +89,13 @@ struct g_class {
g_ctl_destroy_geom_t *destroy_geom;
g_ctl_config_geom_t *config_geom;
/*
- * The remaning elements are private and classes should use
- * the G_CLASS_INITIALIZER macro to initialize them.
- */
+ * The remaining elements are private
+ */
LIST_ENTRY(g_class) class;
LIST_HEAD(,g_geom) geom;
u_int protect;
};
-#define G_CLASS_INITIALIZER \
- .class = { 0, 0 }, \
- .geom = { 0 }, \
- .protect = 0
-
/*
* The g_geom is an instance of a g_class.
*/
OpenPOWER on IntegriCloud