-//FIXME: not used ?
-static
-void notify_eos(struct bt_ctf_notif_iter *notit,
- struct bt_notification **notification)
-{
- struct bt_ctf_stream *stream = NULL;
- struct bt_notification *ret = NULL;
-
- /* Ask the user for the stream */
- stream = notit->medium.medops.get_stream(notit->meta.stream_class,
- notit->medium.data);
- if (!stream) {
- goto end;
- }
-
- ret = bt_notification_stream_end_create(stream);
- if (!ret) {
- goto end;
- }
- *notification = ret;
-end:
- BT_PUT(stream);
-}
-