qemu: cgroup: Remove abandoned function qemuAddToCgroup

This function doesn't do anything useful since 2049ef9942.
This commit is contained in:
Peter Krempa 2016-02-16 13:40:49 +01:00
parent cda1cc170f
commit 21212fca13
2 changed files with 0 additions and 12 deletions

View File

@ -1100,14 +1100,3 @@ qemuRemoveCgroup(virDomainObjPtr vm)
return virCgroupRemove(priv->cgroup);
}
int
qemuAddToCgroup(virDomainObjPtr vm)
{
qemuDomainObjPrivatePtr priv = vm->privateData;
if (priv->cgroup == NULL)
return 0; /* Not supported, so claim success */
return 0;
}

View File

@ -55,6 +55,5 @@ int qemuSetupCgroupVcpuBW(virCgroupPtr cgroup,
int qemuSetupCgroupCpusetCpus(virCgroupPtr cgroup, virBitmapPtr cpumask);
int qemuSetupCgroupForEmulator(virDomainObjPtr vm);
int qemuRemoveCgroup(virDomainObjPtr vm);
int qemuAddToCgroup(virDomainObjPtr vm);
#endif /* __QEMU_CGROUP_H__ */