From: Jérémie Galarneau Date: Wed, 9 Nov 2016 22:18:13 +0000 (-0500) Subject: Remove superflous set_current_packet_content_sizes X-Git-Tag: v2.0.0-pre1~726 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=cf8b741079b1275775f2034f90217e9ffcd84510 Remove superflous set_current_packet_content_sizes Signed-off-by: Jérémie Galarneau --- diff --git a/plugins/ctf/common/notif-iter/notif-iter.c b/plugins/ctf/common/notif-iter/notif-iter.c index 56bf9fff..ab28630e 100644 --- a/plugins/ctf/common/notif-iter/notif-iter.c +++ b/plugins/ctf/common/notif-iter/notif-iter.c @@ -889,12 +889,6 @@ enum bt_ctf_notif_iter_status after_event_header_state( { enum bt_ctf_notif_iter_status status; - status = set_current_packet_content_sizes(notit); - if (status != BT_CTF_NOTIF_ITER_STATUS_OK) { - PERR("Failed to set current packet and content sizes\n"); - goto end; - } - status = set_current_event_class(notit); if (status != BT_CTF_NOTIF_ITER_STATUS_OK) { PERR("Failed to set current event class\n");