Signed-off-by: Christian Babeux <[email protected]>
---
 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 7b7ea0e..cdc2c53 100644
--- a/src/bin/lttng/commands/destroy.c
+++ b/src/bin/lttng/commands/destroy.c
@@ -114,21 +114,6 @@ error:
 }
 
 /*
- * 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 <options>' first level command
  */
 int cmd_destroy(int argc, const char **argv)
-- 
1.7.11.4


_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to