aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/mdconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/mdconfig/mdconfig.c')
-rw-r--r--sbin/mdconfig/mdconfig.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sbin/mdconfig/mdconfig.c b/sbin/mdconfig/mdconfig.c
index 280219fcb5d6..acf3ff2b7985 100644
--- a/sbin/mdconfig/mdconfig.c
+++ b/sbin/mdconfig/mdconfig.c
@@ -42,7 +42,6 @@ static int md_find(char *, const char *);
static int md_query(char *name);
static int md_list(char *units, int opt);
static char *geom_config_get(struct gconf *g, char *name);
-static void geom_config_dump(struct gconf *g);
static void md_prthumanval(char *length);
#define OPT_VERBOSE 0x01
@@ -303,17 +302,13 @@ md_list(char *units, int opt)
{
struct gmesh gm;
struct gprovider *pp;
- struct gconsumer *cp;
struct gconf *gc;
- struct gconfig *gce;
struct gident *gid;
- struct devstat *gsp, *gsq;
+ struct devstat *gsp;
struct ggeom *gg;
struct gclass *gcl;
void *sq;
int retcode;
- signed int ch;
- int nl;
char *type, *file, *length;
type = file = length = NULL;