]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
src/daemon/plugin_mock.c: Remove metrics_list_t.
authorFlorian Forster <octo@google.com>
Fri, 17 Jul 2020 11:36:08 +0000 (13:36 +0200)
committerFlorian Forster <octo@google.com>
Wed, 29 Jul 2020 11:40:54 +0000 (13:40 +0200)
src/daemon/plugin_mock.c

index 7d56eeafa9ed41b1748c541b7b193a8cc7a08910..180c919358bd02d44bef288c4c3be9b3b82e0c8d 100644 (file)
@@ -248,21 +248,3 @@ int plugin_thread_create(__attribute__((unused)) pthread_t *thread,
  * would be to hard-code the top-level config keys in daemon/collectd.c to avoid
  * having these references in daemon/configfile.c. */
 int fc_configure(const oconfig_item_t *ci) { return ENOTSUP; }
-
-int plugin_convert_values_to_metrics(__attribute__((unused))
-                                     value_list_t const *vl,
-                                     __attribute__((unused))
-                                     metrics_list_t **ml) {
-  return ENOTSUP;
-}
-
-void destroy_metrics_list(metrics_list_t *ml) {
-  while (ml != NULL) {
-    identity_destroy(ml->metric.identity);
-    meta_data_destroy(ml->metric.meta);
-
-    metrics_list_t *next = ml->next_p;
-    free(ml);
-    ml = next;
-  }
-}