mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-21 06:06:59 -04:00
CLEANUP: config: drop unused setting CONFIG_HAP_MEM_OPTIM
CONFIG_HAP_MEM_OPTIM was introduced with memory pools in 1.3 and dropped in 1.6 when pools became the only way to allocate memory. Still the option remained present in config.h. Let's kill it.
This commit is contained in:
parent
b530bac0f0
commit
571eb3d659
1 changed files with 0 additions and 8 deletions
|
|
@ -26,14 +26,6 @@
|
|||
#include <common/compat.h>
|
||||
#include <common/defaults.h>
|
||||
|
||||
/* CONFIG_HAP_MEM_OPTIM
|
||||
* This enables use of memory pools instead of malloc()/free(). There
|
||||
* is no reason to disable it, except perhaps for rare debugging.
|
||||
*/
|
||||
#ifndef CONFIG_HAP_NO_MEM_OPTIM
|
||||
# define CONFIG_HAP_MEM_OPTIM
|
||||
#endif /* CONFIG_HAP_NO_MEM_OPTIM */
|
||||
|
||||
#ifdef USE_THREAD
|
||||
#define THREAD_LOCAL __thread
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue