From c48a7ac0cc76d2d5c1682251cd8b03a8953bd6b5 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 17 Sep 2024 15:59:07 +0200 Subject: [PATCH] BMP: drop an unused mempool --- proto/bmp/bmp.c | 1 - proto/bmp/bmp.h | 1 - 2 files changed, 2 deletions(-) diff --git a/proto/bmp/bmp.c b/proto/bmp/bmp.c index 261e9fddd..599024f55 100644 --- a/proto/bmp/bmp.c +++ b/proto/bmp/bmp.c @@ -1244,7 +1244,6 @@ bmp_start(struct proto *P) struct bmp_proto *p = (void *) P; p->buffer_mpool = rp_new(P->pool, "BMP Buffer"); - p->map_mem_pool = rp_new(P->pool, "BMP Map"); p->tx_mem_pool = rp_new(P->pool, "BMP Tx"); p->update_msg_mem_pool = rp_new(P->pool, "BMP Update"); p->tx_ev = ev_new_init(p->p.pool, bmp_fire_tx, p); diff --git a/proto/bmp/bmp.h b/proto/bmp/bmp.h index d69aaafb2..45844836f 100644 --- a/proto/bmp/bmp.h +++ b/proto/bmp/bmp.h @@ -65,7 +65,6 @@ struct bmp_proto { // Below fields are for internal use // struct bmp_peer_map bgp_peers; // Stores 'bgp_proto' structure per BGP peer pool *buffer_mpool; // Memory pool used for BMP buffer allocations - pool *map_mem_pool; // Memory pool used for BMP map allocations pool *tx_mem_pool; // Memory pool used for packet allocations designated to BMP collector pool *update_msg_mem_pool; // Memory pool used for BPG UPDATE MSG allocations list tx_queue; // Stores queued packets going to be sent -- 2.47.2