summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-04-27 17:58:48 +0000
committerAlasdair Kergon <agk@redhat.com>2006-04-27 17:58:48 +0000
commit5972777abe8729f3b2278974244668273155d886 (patch)
treed6c6e1c3ae8876d4ecf413d5ec950ca19d675a67
parent8e373ff868b0c85b66e70f1deafe317eed811b8f (diff)
downloadlvm2-5972777abe8729f3b2278974244668273155d886.tar.gz
remove redundant list_init
-rw-r--r--lib/metadata/lv_manip.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/metadata/lv_manip.c b/lib/metadata/lv_manip.c
index 44f9608ef..cf96cfd17 100644
--- a/lib/metadata/lv_manip.c
+++ b/lib/metadata/lv_manip.c
@@ -474,8 +474,6 @@ static struct alloc_handle *_alloc_init(struct dm_pool *mem,
ah->alloc = alloc;
ah->area_multiple = segtype_is_striped(segtype) ? ah->area_count : 1;
- list_init(&ah->alloced_areas[0]);
-
for (s = 0; s < ah->area_count; s++)
list_init(&ah->alloced_areas[s]);