summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_kern.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-18 09:42:33 +0000
committerphk <phk@FreeBSD.org>2003-03-18 09:42:33 +0000
commitabd9cc6d2bcbbc28d5b00a910e3cc51625255cbf (patch)
tree1c1f50af00e2e7b30b7d8bd0d202a205e3b2fa40 /sys/geom/geom_kern.c
parenteef257a93e011a4e140ebc8b497d65adb03449bb (diff)
downloadFreeBSD-src-abd9cc6d2bcbbc28d5b00a910e3cc51625255cbf.zip
FreeBSD-src-abd9cc6d2bcbbc28d5b00a910e3cc51625255cbf.tar.gz
Retire the GEOM private statistics code and use devstat instead.
Diffstat (limited to 'sys/geom/geom_kern.c')
-rw-r--r--sys/geom/geom_kern.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/geom/geom_kern.c b/sys/geom/geom_kern.c
index 6f2dc65..d8ab014 100644
--- a/sys/geom/geom_kern.c
+++ b/sys/geom/geom_kern.c
@@ -49,7 +49,6 @@
#include <sys/sbuf.h>
#include <geom/geom.h>
#include <geom/geom_int.h>
-#include <geom/geom_stats.h>
MALLOC_DEFINE(M_GEOM, "GEOM", "Geom data structures");
@@ -144,7 +143,6 @@ void
g_init(void)
{
sx_init(&topology_lock, "GEOM topology");
- g_stat_init();
g_io_init();
g_event_init();
mtx_lock(&Giant);
@@ -237,5 +235,3 @@ SYSCTL_INT(_debug_sizeof, OID_AUTO, g_bioq, CTLFLAG_RD,
0, sizeof(struct g_bioq), "");
SYSCTL_INT(_debug_sizeof, OID_AUTO, g_event, CTLFLAG_RD,
0, sizeof(struct g_event), "");
-SYSCTL_INT(_debug_sizeof, OID_AUTO, g_stat, CTLFLAG_RD,
- 0, sizeof(struct g_stat), "");
OpenPOWER on IntegriCloud