From cf8b741079b1275775f2034f90217e9ffcd84510 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 9 Nov 2016 17:18:13 -0500 Subject: [PATCH] Remove superflous set_current_packet_content_sizes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- plugins/ctf/common/notif-iter/notif-iter.c | 6 ------ 1 file changed, 6 deletions(-) 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"); -- 2.34.1