mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
(qemu*DiskCgroup): avoid dead code
* src/qemu/qemu_driver.c (qemuTeardownDiskCgroup): Remove bogus empty-body while-loop. (qemuSetupDiskCgroup): Likewise.
This commit is contained in:
parent
acd981e37f
commit
e638a2461d
@ -2994,7 +2994,7 @@ static int qemuSetupDiskCgroup(virCgroupPtr cgroup,
|
||||
goto cleanup;
|
||||
|
||||
path = meta.backingStore;
|
||||
} while (path != NULL);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
||||
@ -3042,7 +3042,7 @@ static int qemuTeardownDiskCgroup(virCgroupPtr cgroup,
|
||||
goto cleanup;
|
||||
|
||||
path = meta.backingStore;
|
||||
} while (path != NULL);
|
||||
}
|
||||
|
||||
ret = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user