projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Writer: validating the packet header is not necessary
[babeltrace.git]
/
formats
/
ctf
/
ir
/
stream.c
diff --git
a/formats/ctf/ir/stream.c
b/formats/ctf/ir/stream.c
index e6e7575a7102c63415c75241cca3e102ed93e1af..c0b4e979a9ff9195b21e323bc7402110cafe335e 100644
(file)
--- a/
formats/ctf/ir/stream.c
+++ b/
formats/ctf/ir/stream.c
@@
-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.02212 seconds
and
4
git commands to generate.