From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> This reverts commit 99beb54c7b9a0cfa6285fb2988ed93c406c452a3. --- osinfo/osinfo_install_script.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c index 70d6b1d..0591708 100644 --- a/osinfo/osinfo_install_script.c +++ b/osinfo/osinfo_install_script.c @@ -637,15 +637,9 @@ static xmlNodePtr osinfo_install_script_generate_entity_config(OsinfoInstallConf tmp1 = keys = osinfo_entity_get_param_keys(entity); while (tmp1) { - GList *values; - GList *tmp2; - - if (OSINFO_IS_INSTALL_CONFIG(entity)) - values = osinfo_install_config_get_param_value_list(OSINFO_INSTALL_CONFIG(entity), tmp1->data); - else - values = osinfo_entity_get_param_value_list(entity, tmp1->data); + GList *values = osinfo_entity_get_param_value_list(entity, tmp1->data); + GList *tmp2 = values; - tmp2 = values; while (tmp2) { if (!(data = xmlNewDocNode(NULL, NULL, (const xmlChar*)tmp1->data, (const xmlChar*)tmp2->data))) { -- 1.8.1 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo