summaryrefslogtreecommitdiffstats
path: root/libdm
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-02-08 11:36:18 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-02-08 11:36:18 +0000
commita6292f2a6dbc01596fe0c46318877fc4186a5f7f (patch)
tree81048e44bff0daf8f2b81d6d0a6280b990ca91d8 /libdm
parent3a8b6a9948ea94b3a869e13a6a53ee27511d47b6 (diff)
downloadlvm2-a6292f2a6dbc01596fe0c46318877fc4186a5f7f.tar.gz
lvm2-a6292f2a6dbc01596fe0c46318877fc4186a5f7f.tar.xz
lvm2-a6292f2a6dbc01596fe0c46318877fc4186a5f7f.zip
Remove unneeded assignments
Variables have (or will have) those values set.
Diffstat (limited to 'libdm')
-rw-r--r--libdm/libdm-deptree.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdm/libdm-deptree.c b/libdm/libdm-deptree.c
index f43fd12f..062d32da 100644
--- a/libdm/libdm-deptree.c
+++ b/libdm/libdm-deptree.c
@@ -739,10 +739,6 @@ static int _deps(struct dm_task **dmt, struct dm_pool *mem, uint32_t major, uint
*deps = NULL;
info->major = major;
info->minor = minor;
- info->exists = 0;
- info->live_table = 0;
- info->inactive_table = 0;
- info->read_only = 0;
return 1;
}