From 4d4a8aa9ad393264dda7bc884cfc59dd136870e9 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Tue, 15 Jan 2013 13:38:19 -0500 Subject: [PATCH] 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 6f33080f86..2c267305c9 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; -- GitLab