Fix: _lttng_variant_statedump should expect lttng_ust_ctl_atype_variant_nestable
[lttng-tools.git] / src / bin / lttng-sessiond / ust-metadata.c
index 6c807ccee8673712dbf059739f4dfd35aa133e0f..d8f1c842bdb907c5162cfb5640aed02434194d49 100644 (file)
@@ -369,10 +369,6 @@ int _lttng_variant_statedump(struct ust_registry_session *session,
        int ret;
        char identifier[LTTNG_UST_ABI_SYM_NAME_LEN];
 
-       if (variant->type.atype != lttng_ust_ctl_atype_variant) {
-               ret = -EINVAL;
-               goto end;
-       }
        (*iter_field)++;
        sanitize_ctf_identifier(identifier, tag_name);
        if (alignment) {
This page took 0.024211 seconds and 4 git commands to generate.