From f9cd0dcde5fb24b3872aea0ba248e1dcab602ff7 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Wed, 15 Aug 2012 12:39:31 -0400 Subject: [PATCH] Cleanup: Remove unused get_default_session_name() Acked-by: Mathieu Desnoyers Signed-off-by: Christian Babeux Signed-off-by: David Goulet --- src/bin/lttng/commands/destroy.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/bin/lttng/commands/destroy.c b/src/bin/lttng/commands/destroy.c index 7b7ea0e80..cdc2c538c 100644 --- a/src/bin/lttng/commands/destroy.c +++ b/src/bin/lttng/commands/destroy.c @@ -113,21 +113,6 @@ error: return ret; } -/* - * get_default_session_name - * - * Returns the default sessions name, if any - */ -static int get_default_session_name(char **name) -{ - char *session_name = get_session_name(); - if (session_name == NULL) { - return CMD_ERROR; - } - *name = session_name; - return CMD_SUCCESS; -} - /* * The 'destroy ' first level command */ -- 2.34.1