From 482564f309b932278f650a52bf14c44ed12a45e0 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 6 Apr 2015 10:43:23 +0200 Subject: [PATCH] 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. --- src/hlua.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hlua.c b/src/hlua.c index 1e1c11441b..c6dcd896e4 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -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); -- 2.47.3