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