X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fnotification-event-internal.h;h=a5dea56ff60c7cb0811eb0d3aaab2d0c58a4ee37;hb=5fe68922cadda5c4f3de5b41190167cc490796f1;hp=62b8a3ab727ffd5c92c3a9f2597b4463886d2a04;hpb=abe30a8f5b3c86ae598ba18a8aa8e702f3aadf52;p=babeltrace.git diff --git a/include/babeltrace/graph/notification-event-internal.h b/include/babeltrace/graph/notification-event-internal.h index 62b8a3ab..a5dea56f 100644 --- a/include/babeltrace/graph/notification-event-internal.h +++ b/include/babeltrace/graph/notification-event-internal.h @@ -43,30 +43,6 @@ struct bt_notification_event { struct bt_clock_class_priority_map *cc_prio_map; }; -static inline -struct bt_event *bt_notification_event_borrow_event( - struct bt_notification *notif) -{ - struct bt_notification_event *notif_event = container_of(notif, - struct bt_notification_event, parent); - - BT_ASSERT(notif_event); - return notif_event->event; -} - -static inline -struct bt_clock_class_priority_map * -bt_notification_event_borrow_clock_class_priority_map( - struct bt_notification *notif) -{ - struct bt_notification_event *notif_event = container_of(notif, - struct bt_notification_event, parent); - - BT_ASSERT(notif_event); - return notif_event->cc_prio_map; -} - - #ifdef __cplusplus } #endif