Backport the CTF-IR interface
[babeltrace.git] / formats / ctf / ctf.c
index bc96212149c47260ca5af36b73fa4458c0ffe27e..324b9f8e10b5059af7220421b107e70feca9718c 100644 (file)
@@ -779,8 +779,6 @@ int ctf_init_pos(struct ctf_stream_pos *pos, struct bt_trace_descriptor *trace,
                pos->parent.rw_table = write_dispatch_table;
                pos->parent.event_cb = ctf_write_event;
                pos->parent.trace = trace;
-               if (fd >= 0)
-                       ctf_packet_seek(&pos->parent, 0, SEEK_SET);     /* position for write */
                break;
        default:
                assert(0);
This page took 0.023631 seconds and 4 git commands to generate.