[PATCH 4/4] parallels: Remove unused JSON fetch of "OS"

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

 



Commit id ac1c77f0 removed the "os" field in "parallelsDomObj" that
commit id aa296e6c had added and the data is not used by the function.
---
 src/parallels/parallels_driver.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/parallels/parallels_driver.c b/src/parallels/parallels_driver.c
index 6f33080..2c26730 100644
--- a/src/parallels/parallels_driver.c
+++ b/src/parallels/parallels_driver.c
@@ -814,9 +814,6 @@ parallelsLoadDomain(parallelsConnPtr privconn, virJSONValuePtr jobj)
     if (!(pdom->home = strdup(tmp)))
         goto no_memory;
 
-    if (!(tmp = virJSONValueObjectGetString(jobj, "OS")))
-        goto cleanup;
-
     if (!(state = virJSONValueObjectGetString(jobj, "State"))) {
         parallelsParseError();
         goto cleanup;
-- 
1.7.11.7

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