summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum/geom_vinum.c
diff options
context:
space:
mode:
authorle <le@FreeBSD.org>2004-07-29 11:32:09 +0000
committerle <le@FreeBSD.org>2004-07-29 11:32:09 +0000
commit8e620f7e71f2821a778dd7f4c8c3059a9fca33ff (patch)
tree6b1915ea2888cda352c76b968ef3602b607b245c /sys/geom/vinum/geom_vinum.c
parente647ca0c36cb97a5ba49fe9560c724be511c571d (diff)
downloadFreeBSD-src-8e620f7e71f2821a778dd7f4c8c3059a9fca33ff.zip
FreeBSD-src-8e620f7e71f2821a778dd7f4c8c3059a9fca33ff.tar.gz
Shut up the compiler and temporarily '#if 0' gv_destroy_geom(),
until we need it again.
Diffstat (limited to 'sys/geom/vinum/geom_vinum.c')
-rw-r--r--sys/geom/vinum/geom_vinum.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c
index f33280a..b535f56 100644
--- a/sys/geom/vinum/geom_vinum.c
+++ b/sys/geom/vinum/geom_vinum.c
@@ -536,6 +536,7 @@ gv_config(struct gctl_req *req, struct g_class *mp, char const *verb)
gctl_error(req, "Unknown verb parameter");
}
+#if 0
static int
gv_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp)
{
@@ -616,6 +617,7 @@ gv_destroy_geom(struct gctl_req *req, struct g_class *mp, struct g_geom *gp)
g_wither_geom(gp, ENXIO);
return (0);
}
+#endif
#define VINUM_CLASS_NAME "VINUM"
OpenPOWER on IntegriCloud