Refactors vector operations.

This commit is contained in:
Andrea Mazzoleni 2014-01-02 17:51:50 +01:00
parent 29b411e3fe
commit cae803bdfb
10 changed files with 75 additions and 76 deletions

View file

@ -81,7 +81,6 @@ void speed(void)
void *v_alloc;
void **v;
/* we need disk + 1 for each parity buffers + 1 zero v */
nv = nd + RAID_PARITY_MAX + 1;
v = malloc_nofail_vector_align(nd, nv, size, &v_alloc);