diff options
| author | tkusumi <tkusumi@NetBSD.org> | 2019-12-01 06:53:31 +0000 |
|---|---|---|
| committer | tkusumi <tkusumi@NetBSD.org> | 2019-12-01 06:53:31 +0000 |
| commit | 9969b9dc28caf2a5cc89f5c87d0930e24caab69e (patch) | |
| tree | 7714c099cc4a3f7d215ff85501cc1a896402801e /sys/dev/dm/dm_ioctl.c | |
| parent | 7b816a505d3753358b6bae048646779ae08f3b17 (diff) | |
dm: Remove unused dm_dev::dev_type
Given OOP-like architecture of dm target device structure,
dm_dev doesn't need to have self contained target type field,
and in fact this is unused.
Diffstat (limited to 'sys/dev/dm/dm_ioctl.c')
| -rw-r--r-- | sys/dev/dm/dm_ioctl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_ioctl.c b/sys/dev/dm/dm_ioctl.c index 747ef596623..2272a275d5a 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.34 2019/11/30 05:35:57 tkusumi Exp $ */ +/* $NetBSD: dm_ioctl.c,v 1.35 2019/12/01 06:53:31 tkusumi Exp $ */ /* * Copyright (c) 2008 The NetBSD Foundation, Inc. @@ -29,7 +29,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.34 2019/11/30 05:35:57 tkusumi Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dm_ioctl.c,v 1.35 2019/12/01 06:53:31 tkusumi Exp $"); /* * Locking is used to synchronise between ioctl calls and between dm_table's @@ -246,7 +246,6 @@ dm_dev_create_ioctl(prop_dictionary_t dm_dict) dmv->flags = 0; /* device flags are set when needed */ dmv->ref_cnt = 0; dmv->event_nr = 0; - dmv->dev_type = 0; dmv->devt = devt; dm_table_head_init(&dmv->table_head); |
