[PATCH 12/12] Remove virDomainIOThreadsPinDel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one is no longer necessary

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---
 src/conf/domain_conf.c   | 17 -----------------
 src/conf/domain_conf.h   |  3 ---
 src/libvirt_private.syms |  1 -
 3 files changed, 21 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 24c0d8e..cfb59ca 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -16815,23 +16815,6 @@ virDomainEmulatorPinDel(virDomainDefPtr def)
     return 0;
 }
 
-void
-virDomainIOThreadsPinDel(virDomainDefPtr def,
-                         unsigned int iothread_id)
-{
-    size_t i;
-    virDomainPinDefPtr *iothreadspin_list = def->cputune.iothreadspin;
-
-    for (i = 0; i < def->cputune.niothreadspin; i++) {
-        if (iothreadspin_list[i]->id == iothread_id) {
-            virBitmapFree(iothreadspin_list[i]->cpumask);
-            VIR_DELETE_ELEMENT(def->cputune.iothreadspin, i,
-                               def->cputune.niothreadspin);
-            return;
-        }
-    }
-}
-
 static int
 virDomainEventActionDefFormat(virBufferPtr buf,
                               int type,
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index c10e080..d88aca3 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -2565,9 +2565,6 @@ int virDomainEmulatorPinAdd(virDomainDefPtr def,
 
 int virDomainEmulatorPinDel(virDomainDefPtr def);
 
-void virDomainIOThreadsPinDel(virDomainDefPtr def,
-                              unsigned int iothread_id);
-
 void virDomainRNGDefFree(virDomainRNGDefPtr def);
 
 bool virDomainDiskDefDstDuplicates(virDomainDefPtr def);
diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index c453fb8..490c406 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -309,7 +309,6 @@ virDomainHubTypeToString;
 virDomainHypervTypeFromString;
 virDomainHypervTypeToString;
 virDomainInputDefFree;
-virDomainIOThreadsPinDel;
 virDomainLeaseDefFree;
 virDomainLeaseIndex;
 virDomainLeaseInsert;
-- 
2.1.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]