X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdestroy.c;h=cdc2c538c597eb4a33b82fde72bd2af0597e4ff5;hp=7b7ea0e8028cec3f15e160f4f2c374079982fc5f;hb=f9cd0dcde5fb24b3872aea0ba248e1dcab602ff7;hpb=fd076c09672458b1bc5a8ea46f8fe060f5f8ab43 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 */