X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fctf.c;h=5436c2a72b9e6b65812b0105f5faf28131822ac9;hb=28362f2bcb7fe869c6bc1b078ceab41483fd69a6;hp=40da01da2d57619d1257fc42a4666923afaaeaa2;hpb=29d9d76c476cbf3fdf6fa709bfbdc24309974f06;p=babeltrace.git diff --git a/formats/ctf/ctf.c b/formats/ctf/ctf.c index 40da01da..5436c2a7 100644 --- a/formats/ctf/ctf.c +++ b/formats/ctf/ctf.c @@ -768,8 +768,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);