vircgroup: Unexport unused function virCgroupRemoveRecursively

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2018-07-20 14:58:41 +02:00
parent 0aaac42a6e
commit 32686849fc
3 changed files with 1 additions and 12 deletions

View File

@ -1550,7 +1550,6 @@ virCgroupNewSelf;
virCgroupNewThread; virCgroupNewThread;
virCgroupPathOfController; virCgroupPathOfController;
virCgroupRemove; virCgroupRemove;
virCgroupRemoveRecursively;
virCgroupSetBlkioDeviceReadBps; virCgroupSetBlkioDeviceReadBps;
virCgroupSetBlkioDeviceReadIops; virCgroupSetBlkioDeviceReadIops;
virCgroupSetBlkioDeviceWeight; virCgroupSetBlkioDeviceWeight;

View File

@ -3312,7 +3312,7 @@ virCgroupGetCpuacctPercpuUsage(virCgroupPtr group, char **usage)
} }
int static int
virCgroupRemoveRecursively(char *grppath) virCgroupRemoveRecursively(char *grppath)
{ {
DIR *grpdir; 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 int
virCgroupRemove(virCgroupPtr group ATTRIBUTE_UNUSED) virCgroupRemove(virCgroupPtr group ATTRIBUTE_UNUSED)
{ {

View File

@ -273,7 +273,6 @@ int virCgroupGetCpusetMemoryMigrate(virCgroupPtr group, bool *migrate);
int virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus); int virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus);
int virCgroupGetCpusetCpus(virCgroupPtr group, char **cpus); int virCgroupGetCpusetCpus(virCgroupPtr group, char **cpus);
int virCgroupRemoveRecursively(char *grppath);
int virCgroupRemove(virCgroupPtr group); int virCgroupRemove(virCgroupPtr group);
int virCgroupKillRecursive(virCgroupPtr group, int signum); int virCgroupKillRecursive(virCgroupPtr group, int signum);