From: Philippe Proulx Date: Mon, 19 Jun 2017 22:39:13 +0000 (-0400) Subject: Remove unused bt_notification_get_stream() X-Git-Tag: v2.0.0-pre2~43 X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;ds=sidebyside;h=dadfad1e1710d2dec4187ae0e2f6b13a5dbb51b8;p=babeltrace.git Remove unused bt_notification_get_stream() Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- diff --git a/lib/graph/notification/notification.c b/lib/graph/notification/notification.c index 9dc64d79..692f740c 100644 --- a/lib/graph/notification/notification.c +++ b/lib/graph/notification/notification.c @@ -42,17 +42,3 @@ enum bt_notification_type bt_notification_get_type( { return notification ? notification->type : BT_NOTIFICATION_TYPE_UNKNOWN; } - -struct bt_ctf_stream *bt_notification_get_stream( - struct bt_notification *notification) -{ - struct bt_ctf_stream *stream = NULL; - - if (!notification || !notification->get_stream) { - goto end; - } - - stream = notification->get_stream(notification); -end: - return stream; -}