Writer: validating the packet header is not necessary
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 2 Feb 2017 17:54:49 +0000 (12:54 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:37 +0000 (12:57 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/stream.c

index e6e7575a7102c63415c75241cca3e102ed93e1af..c0b4e979a9ff9195b21e323bc7402110cafe335e 100644 (file)
@@ -895,10 +895,6 @@ int bt_ctf_stream_flush(struct bt_ctf_stream *stream)
        }
 
        empty_packet = (stream->events->len == 0);
-       ret = bt_ctf_field_validate(stream->packet_header);
-       if (ret) {
-               goto end;
-       }
 
        /* mmap the next packet */
        ctf_packet_seek(&stream->pos.parent, 0, SEEK_CUR);
This page took 0.02595 seconds and 4 git commands to generate.