From ba6a84d1b32dfc26a77f3ba12f0f3297e639ba43 Mon Sep 17 00:00:00 2001 From: Bostjan Meglic Date: Thu, 16 Jan 2025 09:26:55 +0100 Subject: [PATCH] [pfcp] remove unused memory pool --- lib/pfcp/context.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pfcp/context.c b/lib/pfcp/context.c index 3afb7a8e6d..001274ee84 100644 --- a/lib/pfcp/context.c +++ b/lib/pfcp/context.c @@ -26,7 +26,6 @@ static int context_initialized = 0; static OGS_POOL(ogs_pfcp_node_pool, ogs_pfcp_node_t); -static OGS_POOL(ogs_pfcp_sess_pool, ogs_pfcp_sess_t); static OGS_POOL(ogs_pfcp_far_pool, ogs_pfcp_far_t); static OGS_POOL(ogs_pfcp_urr_pool, ogs_pfcp_urr_t); static OGS_POOL(ogs_pfcp_qer_pool, ogs_pfcp_qer_t); @@ -55,8 +54,6 @@ void ogs_pfcp_context_init(void) ogs_pool_init(&ogs_pfcp_node_pool, ogs_app()->pool.nf); - ogs_pool_init(&ogs_pfcp_sess_pool, ogs_app()->pool.sess); - ogs_pool_init(&ogs_pfcp_far_pool, ogs_app()->pool.sess * OGS_MAX_NUM_OF_FAR); ogs_pool_init(&ogs_pfcp_urr_pool, @@ -116,7 +113,6 @@ void ogs_pfcp_context_final(void) ogs_pool_final(&ogs_pfcp_pdr_teid_pool); ogs_free(pdr_random_to_index); - ogs_pool_final(&ogs_pfcp_sess_pool); ogs_pool_final(&ogs_pfcp_far_pool); ogs_pool_final(&ogs_pfcp_urr_pool); ogs_pool_final(&ogs_pfcp_qer_pool);