1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

cleanup: drop unneded check for mem

Revert missed to drop this extra check.
This commit is contained in:
Zdenek Kabelac 2015-11-11 20:45:53 +01:00
parent 112c0592ad
commit e0828e885b

View File

@ -239,7 +239,7 @@ struct dm_list *str_to_str_list(struct dm_pool *mem, const char *str,
return list;
bad:
if (mem)
dm_pool_free(mem, list);
dm_pool_free(mem, list);
return NULL;
}