mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
remove redundant list_init
This commit is contained in:
parent
26b2524996
commit
6aa17fe8d2
@ -474,8 +474,6 @@ static struct alloc_handle *_alloc_init(struct dm_pool *mem,
|
|||||||
ah->alloc = alloc;
|
ah->alloc = alloc;
|
||||||
ah->area_multiple = segtype_is_striped(segtype) ? ah->area_count : 1;
|
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++)
|
for (s = 0; s < ah->area_count; s++)
|
||||||
list_init(&ah->alloced_areas[s]);
|
list_init(&ah->alloced_areas[s]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user