]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: memory: remove the now unused cli_parse_show_pools() function
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2016 17:55:23 +0000 (18:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Dec 2016 18:40:13 +0000 (19:40 +0100)
We don't need this empty parser anymore since previous commit.

src/memory.c

index 4681d58f4b32ffd23aecbf62bdf35d03a4a36bc6..c1db4ff9496ea5e24aa28316611855e41826f9af 100644 (file)
@@ -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 },
        {{},}
 }};