Blame SOURCES/0009-utils-Remove-unused-function-ovirt_rest_xml_node_get.patch

1bd27f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
3e596a
From: "Eduardo Lima (Etrunko)" <etrunko@redhat.com>
3e596a
Date: Fri, 28 Apr 2017 17:16:31 -0300
3e596a
Subject: [PATCH] utils: Remove unused function
3e596a
 ovirt_rest_xml_node_get_content()
3e596a
3e596a
Most uses were removed in dbf8dd85 "Add generic resource parser" and the
3e596a
last use in 18d7c005 "storage-domain: Parse storage domain status"
3e596a
3e596a
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com>
3e596a
---
3e596a
 govirt/ovirt-utils.c | 19 -------------------
3e596a
 govirt/ovirt-utils.h |  1 -
3e596a
 2 files changed, 20 deletions(-)
3e596a
3e596a
diff --git a/govirt/ovirt-utils.c b/govirt/ovirt-utils.c
3e596a
index 44ea7da..951c693 100644
3e596a
--- a/govirt/ovirt-utils.c
3e596a
+++ b/govirt/ovirt-utils.c
3e596a
@@ -91,25 +91,6 @@ ovirt_rest_xml_node_get_content_from_path(RestXmlNode *node, const char *path)
3e596a
     return content;
3e596a
 }
3e596a
 
3e596a
-G_GNUC_INTERNAL const char *
3e596a
-ovirt_rest_xml_node_get_content(RestXmlNode *node, ...)
3e596a
-{
3e596a
-    va_list args;
3e596a
-    const char *content;
3e596a
-
3e596a
-    g_return_val_if_fail(node != NULL, NULL);
3e596a
-
3e596a
-    va_start(args, node);
3e596a
-
3e596a
-    content = ovirt_rest_xml_node_get_content_va(node, &args, NULL);
3e596a
-
3e596a
-    va_end(args);
3e596a
-
3e596a
-    g_warn_if_fail(node != NULL);
3e596a
-
3e596a
-    return content;
3e596a
-}
3e596a
-
3e596a
 static gboolean
3e596a
 _set_property_value_from_type(GValue *value,
3e596a
                               GType type,
3e596a
diff --git a/govirt/ovirt-utils.h b/govirt/ovirt-utils.h
3e596a
index 4fd4164..e786311 100644
3e596a
--- a/govirt/ovirt-utils.h
3e596a
+++ b/govirt/ovirt-utils.h
3e596a
@@ -36,7 +36,6 @@ struct _OvirtXmlElement
3e596a
 };
3e596a
 
3e596a
 RestXmlNode *ovirt_rest_xml_node_from_call(RestProxyCall *call);
3e596a
-const char *ovirt_rest_xml_node_get_content(RestXmlNode *node, ...);
3e596a
 gboolean ovirt_rest_xml_node_parse(RestXmlNode *node,
3e596a
                                    GObject *object,
3e596a
                                    OvirtXmlElement *elements);