From: Maria Matejka Date: Tue, 17 Sep 2024 13:59:07 +0000 (+0200) Subject: BMP: drop an unused mempool X-Git-Tag: v2.16~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c48a7ac0cc76d2d5c1682251cd8b03a8953bd6b5;p=thirdparty%2Fbird.git BMP: drop an unused mempool --- 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