1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

o Remove pointless calculation.

This commit is contained in:
Joe Thornber 2002-01-24 14:15:42 +00:00
parent ba76e378e9
commit 9b88d8b78d

View File

@ -260,10 +260,8 @@ static int _read_stripes(struct pool *mem, struct lv_map *lvm)
{
uint32_t st, le = 0, flag_warning = 0;
struct stripe_segment *seg;
size_t seg_size;
while (le < lvm->lv->le_count) {
seg_size = sizeof(*seg) + sizeof(seg->area[0]);
if (!(seg = _alloc_seg(mem, lvm->stripes))) {
stack;