From: Willy Tarreau Date: Fri, 16 Dec 2016 17:55:23 +0000 (+0100) Subject: CLEANUP: memory: remove the now unused cli_parse_show_pools() function X-Git-Tag: v1.8-dev1~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9ecec8935da4c003f786381b7bba0a6b91f861b;p=thirdparty%2Fhaproxy.git CLEANUP: memory: remove the now unused cli_parse_show_pools() function We don't need this empty parser anymore since previous commit. --- diff --git a/src/memory.c b/src/memory.c index 4681d58f4b..c1db4ff949 100644 --- a/src/memory.c +++ b/src/memory.c @@ -289,14 +289,9 @@ static int cli_io_handler_dump_pools(struct appctx *appctx) return 1; } -static int cli_parse_show_pools(char **args, struct appctx *appctx, void *private) -{ - return 0; -} - /* register cli keywords */ static struct cli_kw_list cli_kws = {{ },{ - { { "show", "pools", NULL }, "show pools : report information about the memory pools usage", cli_parse_show_pools, cli_io_handler_dump_pools }, + { { "show", "pools", NULL }, "show pools : report information about the memory pools usage", NULL, cli_io_handler_dump_pools }, {{},} }};