lib: add "borrow" functions where "get" functions exist
[babeltrace.git] / include / babeltrace / ctf-ir / packet-internal.h
index f3fe96cf2fe2283b4e630470338b35a1f740af5b..9f66fb14f89b88f7401dc70d8a193a96d6ed6165 100644 (file)
@@ -48,12 +48,4 @@ void _bt_packet_freeze(struct bt_packet *packet);
 # define bt_packet_freeze
 #endif /* BT_DEV_MODE */
 
-static inline
-struct bt_stream *bt_packet_borrow_stream(
-               struct bt_packet *packet)
-{
-       BT_ASSERT(packet);
-       return packet->stream;
-}
-
 #endif /* BABELTRACE_CTF_IR_PACKET_INTERNAL_H */
This page took 0.023808 seconds and 4 git commands to generate.