All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH babeltrace] Remove unnused function bt_trace_handle_get_id
@ 2013-06-26 17:27 Jérémie Galarneau
  0 siblings, 0 replies; 2+ messages in thread
From: Jérémie Galarneau @ 2013-06-26 17:27 UTC (permalink / raw)
  To: lttng-dev; +Cc: mathieu.desnoyers, jdesfossez

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>
---
 lib/trace-handle.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/lib/trace-handle.c b/lib/trace-handle.c
index 455e440..d5b906a 100644
--- a/lib/trace-handle.c
+++ b/lib/trace-handle.c
@@ -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;
-- 
1.8.3.1


_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH babeltrace] Remove unnused function bt_trace_handle_get_id
       [not found] <1372267657-1956-1-git-send-email-jeremie.galarneau@efficios.com>
@ 2013-06-26 17:33 ` Mathieu Desnoyers
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Desnoyers @ 2013-06-26 17:33 UTC (permalink / raw)
  To: Jérémie Galarneau; +Cc: lttng-dev, jdesfossez

* Jérémie Galarneau (jeremie.galarneau@efficios.com) 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

> 
> Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
> ---
>  lib/trace-handle.c | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/lib/trace-handle.c b/lib/trace-handle.c
> index 455e440..d5b906a 100644
> --- a/lib/trace-handle.c
> +++ b/lib/trace-handle.c
> @@ -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;
> -- 
> 1.8.3.1
> 

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-26 17:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-26 17:27 [PATCH babeltrace] Remove unnused function bt_trace_handle_get_id Jérémie Galarneau
     [not found] <1372267657-1956-1-git-send-email-jeremie.galarneau@efficios.com>
2013-06-26 17:33 ` Mathieu Desnoyers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.