From ca0e9f8001f592982b73c46c094895e2db346bf1 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 15 Feb 2008 10:01:19 +0000 Subject: [PATCH] remove the undocumented and unimplemented dump.pool command git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2467 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_cli.c | 4 ---- varnish-cache/bin/varnishd/cache_pool.c | 11 ----------- 2 files changed, 15 deletions(-) diff --git a/varnish-cache/bin/varnishd/cache_cli.c b/varnish-cache/bin/varnishd/cache_cli.c index 12762920..9f8d5b08 100644 --- a/varnish-cache/bin/varnishd/cache_cli.c +++ b/varnish-cache/bin/varnishd/cache_cli.c @@ -77,10 +77,6 @@ struct cli_proto CLI_cmds[] = { { CLI_VCL_DISCARD, cli_func_config_discard }, { CLI_VCL_USE, cli_func_config_use }, - /* Undocumented */ - { "dump.pool", "dump.pool", - "\tDump the worker thread pool state\n", - 0, 0, cli_func_dump_pool }, { NULL } }; diff --git a/varnish-cache/bin/varnishd/cache_pool.c b/varnish-cache/bin/varnishd/cache_pool.c index 2e569c57..44559d5e 100644 --- a/varnish-cache/bin/varnishd/cache_pool.c +++ b/varnish-cache/bin/varnishd/cache_pool.c @@ -434,14 +434,3 @@ WRK_Init(void) AZ(pthread_create(&tp, NULL, wrk_reaperthread, NULL)); AZ(pthread_detach(tp)); } - -/*--------------------------------------------------------------------*/ - -void -cli_func_dump_pool(struct cli *cli, const char * const *av, void *priv) -{ - - (void)cli; - (void)av; - (void)priv; -} -- 2.39.5