summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_ioctl.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2013-10-18 19:56:30 +0000
committerchristos <christos@NetBSD.org>2013-10-18 19:56:30 +0000
commitb3277c10e544fe9c4c0396f056b07b747a5df7a8 (patch)
tree3fcba99bda399980594e19127926375f4a56c40b /sys/dev/dm/dm_ioctl.c
parent2582c3e18ae8108d2231bf6701817c8c771f7afd (diff)
remove unused variables
Diffstat (limited to 'sys/dev/dm/dm_ioctl.c')
-rw-r--r--sys/dev/dm/dm_ioctl.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c
index dfce3771e68..a96c1d826e1 100644
--- a/sys/dev/dm/dm_ioctl.c
+++ b/sys/dev/dm/dm_ioctl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_ioctl.c,v 1.26 2011/08/27 17:07:49 ahoka Exp $ */
+/* $NetBSD: dm_ioctl.c,v 1.27 2013/10/18 19:56:30 christos Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -614,15 +614,12 @@ dm_table_deps_ioctl(prop_dictionary_t dm_dict)
uint32_t flags, minor;
int table_type;
- size_t i;
name = NULL;
uuid = NULL;
dmv = NULL;
flags = 0;
- i = 0;
-
prop_dictionary_get_cstring_nocopy(dm_dict, DM_IOCTL_NAME, &name);
prop_dictionary_get_cstring_nocopy(dm_dict, DM_IOCTL_UUID, &uuid);
prop_dictionary_get_uint32(dm_dict, DM_IOCTL_FLAGS, &flags);
@@ -842,7 +839,7 @@ dm_table_status_ioctl(prop_dictionary_t dm_dict)
prop_array_t cmd_array;
prop_dictionary_t target_dict;
- uint32_t rec_size, minor;
+ uint32_t minor;
const char *name, *uuid;
char *params;
@@ -854,7 +851,6 @@ dm_table_status_ioctl(prop_dictionary_t dm_dict)
name = NULL;
params = NULL;
flags = 0;
- rec_size = 0;
prop_dictionary_get_cstring_nocopy(dm_dict, DM_IOCTL_NAME, &name);
prop_dictionary_get_cstring_nocopy(dm_dict, DM_IOCTL_UUID, &uuid);