lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / include / babeltrace / ctf-ir / stream-internal.h
index 14765f490d27c6c0d4fb007c936faef9ddc1d0fb..78c16c1d6cb4f34df3c0e72a70eeac5b62c61c4d 100644 (file)
@@ -85,20 +85,6 @@ struct bt_stream_class_common *bt_stream_common_borrow_class(
        return stream->stream_class;
 }
 
-static inline
-struct bt_stream_class *bt_stream_borrow_class(struct bt_stream *stream)
-{
-       BT_ASSERT(stream);
-       return BT_FROM_COMMON(bt_stream_common_borrow_class(BT_TO_COMMON(stream)));
-}
-
-static inline
-struct bt_stream_class_common *bt_stream_common_get_class(
-               struct bt_stream_common *stream)
-{
-       return bt_get(bt_stream_common_borrow_class(stream));
-}
-
 static inline
 const char *bt_stream_common_get_name(struct bt_stream_common *stream)
 {
This page took 0.025223 seconds and 4 git commands to generate.