Skip to content

Commit

Permalink
[pfcp] remove unused memory pool
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeglic authored and acetcom committed Jan 16, 2025
1 parent 78a993c commit ba6a84d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/pfcp/context.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ba6a84d

Please sign in to comment.