From: phk Date: Fri, 15 Feb 2008 10:01:19 +0000 (+0000) Subject: remove the undocumented and unimplemented dump.pool command X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca0e9f8001f592982b73c46c094895e2db346bf1;p=varnish 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 --- 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; -}