ctf: make ctf_trace_class_configure_ir_trace use bt2::Trace
[babeltrace.git] / src / plugins / ctf / fs-src / fs.cpp
index 6123487d971d18808ef4da935db7e6d0a395f47e..df6a0e28c13f9c37e1c13343ec631b897e817f87 100644 (file)
@@ -629,11 +629,7 @@ static ctf_fs_trace::UP ctf_fs_trace_create(const char *path, const char *name,
     }
 
     if (ctf_fs_trace->trace) {
-        ret = ctf_trace_class_configure_ir_trace(ctf_fs_trace->metadata->tc,
-                                                 ctf_fs_trace->trace->libObjPtr());
-        if (ret) {
-            return nullptr;
-        }
+        ctf_trace_class_configure_ir_trace(ctf_fs_trace->metadata->tc, *ctf_fs_trace->trace);
 
         ret = set_trace_name(ctf_fs_trace->trace->libObjPtr(), name);
         if (ret) {
This page took 0.024395 seconds and 4 git commands to generate.