CLEANUP: lua: remove the unused hlua_sleep memory pool

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.
This commit is contained in:
Willy Tarreau 2015-04-06 10:43:23 +02:00
parent cb703b0352
commit 482564f309

View File

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