From e9ecec8935da4c003f786381b7bba0a6b91f861b Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 16 Dec 2016 18:55:23 +0100 Subject: [PATCH] CLEANUP: memory: remove the now unused cli_parse_show_pools() function We don't need this empty parser anymore since previous commit. --- src/memory.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 }, {{},} }}; -- 2.47.3