Merge branch 'collectd-5.7' into collectd-5.8
[collectd.git] / src / daemon / utils_cache.c
index 3534c3d..ea7c3e3 100644 (file)
@@ -917,11 +917,6 @@ int uc_iterator_get_meta(uc_iter_t *iter, meta_data_t **ret_meta) {
   if ((iter == NULL) || (iter->entry == NULL) || (ret_meta == NULL))
     return -1;
 
-  if (iter->entry->meta == NULL) {
-    *ret_meta = NULL;
-    return 0;
-  }
-
   *ret_meta = meta_data_clone(iter->entry->meta);
 
   return 0;