aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/mem_pool.h1
-rw-r--r--src/mem_pool.cpp10
2 files changed, 0 insertions, 11 deletions
diff --git a/include/mem_pool.h b/include/mem_pool.h
index e365cd29d..0665eac9c 100644
--- a/include/mem_pool.h
+++ b/include/mem_pool.h
@@ -23,7 +23,6 @@ class Pooling_Allocator : public Allocator
void* allocate(u32bit);
void deallocate(void*, u32bit);
- void init();
void destroy();
Pooling_Allocator(u32bit, bool);
diff --git a/src/mem_pool.cpp b/src/mem_pool.cpp
index e327b3473..870365412 100644
--- a/src/mem_pool.cpp
+++ b/src/mem_pool.cpp
@@ -148,16 +148,6 @@ Pooling_Allocator::~Pooling_Allocator()
}
/*************************************************
-* Allocate some initial buffers *
-*************************************************/
-void Pooling_Allocator::init()
- {
- Mutex_Holder lock(mutex);
-
- get_more_core(PREF_SIZE);
- }
-
-/*************************************************
* Free all remaining memory *
*************************************************/
void Pooling_Allocator::destroy()