]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
BMP: drop an unused mempool
authorMaria Matejka <mq@ucw.cz>
Tue, 17 Sep 2024 13:59:07 +0000 (15:59 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Fri, 29 Nov 2024 15:06:07 +0000 (16:06 +0100)
proto/bmp/bmp.c
proto/bmp/bmp.h

index 261e9fddd70098ea50350b5c4da3366c959f5347..599024f550c2480d263c1b44ede3b5e437796ab2 100644 (file)
@@ -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);
index d69aaafb2da957974d4ecf88e8ff5c6ce61498cd..45844836f789d96868180c60902d2aeda73144e4 100644 (file)
@@ -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