mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
vircgroup: Unexport unused function virCgroupRemoveRecursively
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
0aaac42a6e
commit
32686849fc
@ -1550,7 +1550,6 @@ virCgroupNewSelf;
|
||||
virCgroupNewThread;
|
||||
virCgroupPathOfController;
|
||||
virCgroupRemove;
|
||||
virCgroupRemoveRecursively;
|
||||
virCgroupSetBlkioDeviceReadBps;
|
||||
virCgroupSetBlkioDeviceReadIops;
|
||||
virCgroupSetBlkioDeviceWeight;
|
||||
|
@ -3312,7 +3312,7 @@ virCgroupGetCpuacctPercpuUsage(virCgroupPtr group, char **usage)
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
static int
|
||||
virCgroupRemoveRecursively(char *grppath)
|
||||
{
|
||||
DIR *grpdir;
|
||||
@ -4529,15 +4529,6 @@ virCgroupSetCpuCfsQuota(virCgroupPtr group ATTRIBUTE_UNUSED,
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupRemoveRecursively(char *grppath ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportSystemError(ENXIO, "%s",
|
||||
_("Control groups not supported on this platform"));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
virCgroupRemove(virCgroupPtr group ATTRIBUTE_UNUSED)
|
||||
{
|
||||
|
@ -273,7 +273,6 @@ int virCgroupGetCpusetMemoryMigrate(virCgroupPtr group, bool *migrate);
|
||||
int virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus);
|
||||
int virCgroupGetCpusetCpus(virCgroupPtr group, char **cpus);
|
||||
|
||||
int virCgroupRemoveRecursively(char *grppath);
|
||||
int virCgroupRemove(virCgroupPtr group);
|
||||
|
||||
int virCgroupKillRecursive(virCgroupPtr group, int signum);
|
||||
|
Loading…
Reference in New Issue
Block a user