From 8e8f2c41310a1253c333d0f941d72bc079a57363 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 15 Sep 2015 11:01:30 -0400 Subject: [PATCH] Remove dead code from add-context command MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This removes code ifdef-ed out from the add-context command. Code shall either be used or ditched. Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/add_context.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index cf3f3efcf..5ac755199 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -40,12 +40,6 @@ static int opt_kernel; static int opt_userspace; static char *opt_type; -#if 0 -/* Not implemented yet */ -static char *opt_cmd_name; -static pid_t opt_pid; -#endif - enum { OPT_HELP = 1, OPT_TYPE, @@ -735,9 +729,6 @@ int cmd_add_context(int argc, const char **argv) break; case OPT_USERSPACE: opt_userspace = 1; -#if 0 - opt_cmd_name = poptGetOptArg(pc); -#endif break; case OPT_LIST_OPTIONS: list_cmd_options(stdout, long_options); -- 2.34.1