Skip to contentSkip to conversation

Remove unnused function bt_trace_handle_get_id

PATCH Mathieu Desnoyers 1 participant 1 message Jun 26, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 3 lines · * Jérémie Galarneau ([email protected]) wrote:

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.

Merged, with "unnused" -> unused. ;-)

Thanks,

Mathieu

Quoted 28 lines
---
 lib/trace-handle.c | 8 --------
 1 file changed, 8 deletions(-)
lib/trace-handle.c +0 -8
index 455e440..d5b906a 100644
@@ -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;
Signature · 1 line
1.8.3.1
Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com