Remove unused function bt_trace_handle_get_id
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Jun 2013 17:32:03 +0000 (13:32 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 26 Jun 2013 17:32:03 +0000 (13:32 -0400)
This function was removed from trace-handle.h as part of commit
e3d12cf93f067601df4179ef4b7e2a30aa0065f7 which changed the trace-handle
API to use handle_ids instead of pointers to a struct bt_trace_handle.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lib/trace-handle.c

index 455e4407e37722be78f18ed5311cf0af7c7b5430..d5b906aa961f5639b51f9a7c9114a19c28f58f3a 100644 (file)
@@ -52,14 +52,6 @@ void bt_trace_handle_destroy(struct bt_trace_handle *th)
        g_free(th);
 }
 
-int bt_trace_handle_get_id(struct bt_trace_handle *th)
-{
-       if (!th)
-               return -1;
-
-       return th->id;
-}
-
 const char *bt_trace_handle_get_path(struct bt_context *ctx, int handle_id)
 {
        struct bt_trace_handle *handle;
This page took 0.025701 seconds and 4 git commands to generate.