summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2013-06-09 23:12:43 +0000
committermarcel <marcel@FreeBSD.org>2013-06-09 23:12:43 +0000
commit30f527d554a95ca25c21ad597ab9c0d1e304ce2a (patch)
treee8b69ea093fbc7ebc3ad4e4cd56ef839e106f4f9 /sys/geom
parent12ab9bba630dc43e94dc711a64262b21c8be1c4e (diff)
downloadFreeBSD-src-30f527d554a95ca25c21ad597ab9c0d1e304ce2a.zip
FreeBSD-src-30f527d554a95ca25c21ad597ab9c0d1e304ce2a.tar.gz
Remove stub implementation.
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/part/g_part_ldm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/geom/part/g_part_ldm.c b/sys/geom/part/g_part_ldm.c
index 6defef6..81abc84 100644
--- a/sys/geom/part/g_part_ldm.c
+++ b/sys/geom/part/g_part_ldm.c
@@ -336,8 +336,6 @@ static const char *g_part_ldm_name(struct g_part_table *, struct g_part_entry *,
char *, size_t);
static int g_part_ldm_probe(struct g_part_table *, struct g_consumer *);
static int g_part_ldm_read(struct g_part_table *, struct g_consumer *);
-static int g_part_ldm_setunset(struct g_part_table *, struct g_part_entry *,
- const char *, unsigned int);
static const char *g_part_ldm_type(struct g_part_table *, struct g_part_entry *,
char *, size_t);
static int g_part_ldm_write(struct g_part_table *, struct g_consumer *);
@@ -356,7 +354,6 @@ static kobj_method_t g_part_ldm_methods[] = {
KOBJMETHOD(g_part_name, g_part_ldm_name),
KOBJMETHOD(g_part_probe, g_part_ldm_probe),
KOBJMETHOD(g_part_read, g_part_ldm_read),
- KOBJMETHOD(g_part_setunset, g_part_ldm_setunset),
KOBJMETHOD(g_part_type, g_part_ldm_type),
KOBJMETHOD(g_part_write, g_part_ldm_write),
{ 0, 0 }
@@ -1476,14 +1473,6 @@ gpt_cleanup:
return (error);
}
-static int
-g_part_ldm_setunset(struct g_part_table *table, struct g_part_entry *baseentry,
- const char *attrib, unsigned int set)
-{
-
- return (ENOSYS);
-}
-
static const char *
g_part_ldm_type(struct g_part_table *basetable, struct g_part_entry *baseentry,
char *buf, size_t bufsz)
OpenPOWER on IntegriCloud