[PATCH 10/10] qemuDomainGetGuestInfo: Remove temporary infrastructure

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

 



Now that the refactor was completed the helper infrastructure can be
removed.

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 src/qemu/qemu_driver.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
index 5d91bd1a93..c69074766b 100644
--- a/src/qemu/qemu_driver.c
+++ b/src/qemu/qemu_driver.c
@@ -19372,7 +19372,6 @@ qemuDomainGetGuestInfo(virDomainPtr dom,
     bool format_load = false;
     size_t i;
     g_autoptr(virTypedParamList) list = virTypedParamListNew();
-    g_autoptr(virTypedParamList) tmplist = NULL;

     virCheckFlags(0, -1);

@@ -19481,11 +19480,6 @@ qemuDomainGetGuestInfo(virDomainPtr dom,
         virTypedParamListAddDouble(list, load15m, "load.15m");
     }

-    /* temporarily allow the old and new construction style to coexist */
-    tmplist = virTypedParamListFromParams(params, *nparams);
-    virTypedParamListConcat(tmplist, &list);
-    list = g_steal_pointer(&tmplist);
-
     if (virTypedParamListSteal(list, params, nparams) < 0)
         goto cleanup;

-- 
2.48.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