From 5dffe231771540d1295c5d75b29920834478051f Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 17 Mar 2020 18:28:45 +0100 Subject: [PATCH] Remove obsolete server subcommand "task". It was deprecated long ago. Since v0.6.2 it does nothing anyway. --- client.c | 1 - command.c | 8 -------- m4/lls/server_cmd.suite.m4 | 9 --------- 3 files changed, 18 deletions(-) diff --git a/client.c b/client.c index f72719f2..46163f16 100644 --- a/client.c +++ b/client.c @@ -243,7 +243,6 @@ I9E_DUMMY_COMPLETER(term); I9E_DUMMY_COMPLETER(stop); I9E_DUMMY_COMPLETER(addatt); I9E_DUMMY_COMPLETER(init); -I9E_DUMMY_COMPLETER(tasks); static struct i9e_completer completers[]; diff --git a/command.c b/command.c index 8ea725de..a7d078cc 100644 --- a/command.c +++ b/command.c @@ -748,14 +748,6 @@ out: } EXPORT_SERVER_CMD_HANDLER(jmp); -/* deprecated, does nothing */ -static int com_tasks(__a_unused struct command_context *cc, - __a_unused struct lls_parse_result *lpr) -{ - return 1; -} -EXPORT_SERVER_CMD_HANDLER(tasks); - static void reset_signals(void) { para_sigaction(SIGCHLD, SIG_IGN); diff --git a/m4/lls/server_cmd.suite.m4 b/m4/lls/server_cmd.suite.m4 index 2a39907c..f73d66b2 100644 --- a/m4/lls/server_cmd.suite.m4 +++ b/m4/lls/server_cmd.suite.m4 @@ -500,15 +500,6 @@ aux_info_prefix = Permissions: the vss status flags, effectively stopping playback. [/description] -[subcommand tasks] - purpose = list active server tasks (deprecated) - aux_info = NO_PERMISSION_REQUIRED - [description] - This used to print the ID, the status and the name of each task, - mainly for debugging purposes. As of version 0.6.2, the subcommand - prints nothing. It will be removed in 0.7.0. Don't use. - [/description] - [subcommand term] purpose = ask the server to terminate aux_info = VSS_READ | VSS_WRITE -- 2.39.2