提交 e638a246 编写于 作者: J Jim Meyering

(qemu*DiskCgroup): avoid dead code

* src/qemu/qemu_driver.c (qemuTeardownDiskCgroup): Remove
bogus empty-body while-loop.
(qemuSetupDiskCgroup): Likewise.
上级 acd981e3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册