mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-17 14:50:38 +03:00
cleanup: drop unneeded test
dmfree tests for NULL
This commit is contained in:
parent
e9b523e304
commit
1a9f743eef
4
lib/cache/lvmcache.c
vendored
4
lib/cache/lvmcache.c
vendored
@ -1177,9 +1177,7 @@ static int _free_vginfo(struct lvmcache_vginfo *vginfo)
|
||||
vginfo2 = vginfo2->next;
|
||||
}
|
||||
|
||||
if (vginfo->system_id)
|
||||
dm_free(vginfo->system_id);
|
||||
|
||||
dm_free(vginfo->system_id);
|
||||
dm_free(vginfo->vgname);
|
||||
dm_free(vginfo->creation_host);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user