Date: Sun, 9 Jun 2013 23:12:43 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251587 - head/sys/geom/part Message-ID: <201306092312.r59NChZh012986@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marcel Date: Sun Jun 9 23:12:43 2013 New Revision: 251587 URL: http://svnweb.freebsd.org/changeset/base/251587 Log: Remove stub implementation. Modified: head/sys/geom/part/g_part_ldm.c Modified: head/sys/geom/part/g_part_ldm.c ============================================================================== --- head/sys/geom/part/g_part_ldm.c Sun Jun 9 22:51:11 2013 (r251586) +++ head/sys/geom/part/g_part_ldm.c Sun Jun 9 23:12:43 2013 (r251587) @@ -336,8 +336,6 @@ static const char *g_part_ldm_name(struc 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306092312.r59NChZh012986>