From: Willy Tarreau Date: Mon, 6 Apr 2015 08:43:23 +0000 (+0200) Subject: CLEANUP: lua: remove the unused hlua_sleep memory pool X-Git-Tag: v1.6-dev2~287 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=482564f309b932278f650a52bf14c44ed12a45e0;p=thirdparty%2Fhaproxy.git 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. --- 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);