[PATCH v2 01/23] qemu: capabilities: Remove virQEMUCapsSetList

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

 



Unused since 90540a37bee647d4f94d263a3ba1b39f2407880d

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_capabilities.c | 13 -------------
 src/qemu/qemu_capabilities.h |  2 --
 2 files changed, 15 deletions(-)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 9558938866..537c460286 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -2043,19 +2043,6 @@ virQEMUCapsSet(virQEMUCaps *qemuCaps,
 }


-void
-virQEMUCapsSetList(virQEMUCaps *qemuCaps, ...)
-{
-    va_list list;
-    int flag;
-
-    va_start(list, qemuCaps);
-    while ((flag = va_arg(list, int)) < QEMU_CAPS_LAST)
-        virQEMUCapsSet(qemuCaps, flag);
-    va_end(list);
-}
-
-
 void
 virQEMUCapsClear(virQEMUCaps *qemuCaps,
                  virQEMUCapsFlags flag)
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index 2b1bb57a49..511379db18 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -631,8 +631,6 @@ virQEMUCaps *virQEMUCapsNewBinary(const char *binary);
 void virQEMUCapsSet(virQEMUCaps *qemuCaps,
                     virQEMUCapsFlags flag) ATTRIBUTE_NONNULL(1);

-void virQEMUCapsSetList(virQEMUCaps *qemuCaps, ...) ATTRIBUTE_NONNULL(1);
-
 void virQEMUCapsClear(virQEMUCaps *qemuCaps,
                       virQEMUCapsFlags flag) ATTRIBUTE_NONNULL(1);

-- 
2.31.1




[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]

  Powered by Linux