]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: lua: remove the unused hlua_sleep memory pool
authorWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 08:43:23 +0000 (10:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Apr 2015 08:43:23 +0000 (10:43 +0200)
Commit d44731f ("MEDIUM: lua: change the sleep function core") removed
the use for this pool but forgot to remove the pool which is still
created.

src/hlua.c

index 1e1c11441b7f513b1eadf093a0ccb50356d3a300..c6dcd896e41cb0ffe92bb9c55592e67221071396 100644 (file)
@@ -54,7 +54,6 @@ struct hlua gL;
  * struct are used to store each requiered signal between two tasks.
  */
 struct pool_head *pool2_hlua_com;
-struct pool_head *pool2_hlua_sleep;
 
 /* Used for Socket connection. */
 static struct proxy socket_proxy;
@@ -4619,9 +4618,6 @@ void hlua_init(void)
        /* Initialise com signals pool session. */
        pool2_hlua_com = create_pool("hlua_com", sizeof(struct hlua_com), MEM_F_SHARED);
 
-       /* Initialise sleep pool. */
-       pool2_hlua_sleep = create_pool("hlua_sleep", sizeof(struct hlua_sleep), MEM_F_SHARED);
-
        /* Register configuration keywords. */
        cfg_register_keywords(&cfg_kws);