From 5972777abe8729f3b2278974244668273155d886 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 27 Apr 2006 17:58:48 +0000 Subject: [PATCH] remove redundant list_init --- lib/metadata/lv_manip.c | 2 -- 1 file changed, 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]);