lib: use object pool for event and packet notifications
[babeltrace.git] / include / babeltrace / graph / component-internal.h
index f742c7b1717f692bf6dcaca032e0083a2acdfe09..65f5e4d82bac46e1fded9cf378f7e17078d8ea7c 100644 (file)
@@ -69,13 +69,6 @@ struct bt_component {
        bool initialized;
 };
 
-static inline
-struct bt_component *bt_component_borrow_from_private(
-               struct bt_private_component *private_component)
-{
-       return (void *) private_component;
-}
-
 static inline
 struct bt_private_component *bt_private_component_from_component(
                struct bt_component *component)
@@ -83,13 +76,6 @@ struct bt_private_component *bt_private_component_from_component(
        return (void *) component;
 }
 
-static inline
-struct bt_graph *bt_component_borrow_graph(struct bt_component *comp)
-{
-       BT_ASSERT(comp);
-       return (void *) comp->base.parent;
-}
-
 BT_HIDDEN
 enum bt_component_status bt_component_create(
                struct bt_component_class *component_class,
This page took 0.024761 seconds and 4 git commands to generate.