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

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



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


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