Coding standard clean-ups
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 14 Nov 2016 20:49:13 +0000 (15:49 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 18:09:06 +0000 (14:09 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/common/notif-iter/notif-iter.c

index 1f80c7064ecdb1f4b87121d85ef826ded59cf1e3..f29b72eeee7f5ad87e968549f131b1705be70990 100644 (file)
@@ -578,7 +578,6 @@ enum bt_ctf_notif_iter_status set_current_stream_class(struct bt_ctf_notif_iter
        }
 
        BT_PUT(notit->meta.stream_class);
-
        notit->meta.stream_class = bt_ctf_trace_get_stream_class_by_id(
                        notit->meta.trace, stream_id);
        if (!notit->meta.stream_class) {
@@ -1844,8 +1843,7 @@ struct bt_ctf_notif_iter *bt_ctf_notif_iter_create(struct bt_ctf_trace *trace,
                goto end;
        }
 
-       notit->meta.trace = trace;
-       bt_get(notit->meta.trace);
+       notit->meta.trace = bt_get(trace);
        notit->medium.medops = medops;
        notit->medium.max_request_sz = max_request_sz;
        notit->medium.data = data;
This page took 0.026104 seconds and 4 git commands to generate.