Remove enable/disable consumer obsolete command
[lttng-tools.git] / src / bin / lttng / commands / disable_consumer.c
diff --git a/src/bin/lttng/commands/disable_consumer.c b/src/bin/lttng/commands/disable_consumer.c
deleted file mode 100644 (file)
index 4ecf3db..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2012 - David Goulet <dgoulet@efficios.com>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License, version 2 only, as
- * published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 51
- * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#define _GNU_SOURCE
-#include <popt.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/stat.h>
-#include <sys/types.h>
-#include <time.h>
-#include <unistd.h>
-
-#include "../command.h"
-#include "../utils.h"
-
-/*
- * The 'disable-consumer <options>' first level command
- *
- * Returns one of the CMD_* result constants.
- */
-int cmd_disable_consumer(int argc, const char **argv)
-{
-       int ret;
-
-       MSG("The disable-consumer command is now obsolete.");
-       ret = CMD_WARNING;
-
-       return ret;
-}
This page took 0.023408 seconds and 4 git commands to generate.