mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-09-10 21:45:18 +03: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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user