(qemu*DiskCgroup): avoid dead code

* src/qemu/qemu_driver.c (qemuTeardownDiskCgroup): Remove
bogus empty-body while-loop.
(qemuSetupDiskCgroup): Likewise.
This commit is contained in:
Jim Meyering 2010-05-17 22:50:21 +02:00
parent acd981e37f
commit e638a2461d

View File

@ -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;