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

dev-cache: remove duplicated allocation

Merge mistake missed to remove allocation that is now postponed
until it's really needed.
This commit is contained in:
Zdenek Kabelac 2021-02-10 14:33:17 +01:00
parent f74f94c2dd
commit 96910de4c7

View File

@ -329,7 +329,7 @@ enum add_hash {
static int _add_alias(struct device *dev, const char *path, enum add_hash hash)
{
struct dm_str_list *sl = _zalloc(sizeof(*sl));
struct dm_str_list *sl;
struct dm_str_list *strl;
const char *oldpath;
int prefer_old = 1;