mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 14:34:22 +00:00
ospf6d: remove unused bitfield
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
19b8369ca7
commit
cdc12294fc
@ -306,7 +306,6 @@ struct ospf6_area *ospf6_area_create(uint32_t area_id, struct ospf6 *o, int df)
|
|||||||
|
|
||||||
oa->range_table = OSPF6_ROUTE_TABLE_CREATE(AREA, PREFIX_RANGES);
|
oa->range_table = OSPF6_ROUTE_TABLE_CREATE(AREA, PREFIX_RANGES);
|
||||||
oa->range_table->scope = oa;
|
oa->range_table->scope = oa;
|
||||||
bf_init(oa->range_table->idspace, 32);
|
|
||||||
oa->summary_prefix = OSPF6_ROUTE_TABLE_CREATE(AREA, SUMMARY_PREFIXES);
|
oa->summary_prefix = OSPF6_ROUTE_TABLE_CREATE(AREA, SUMMARY_PREFIXES);
|
||||||
oa->summary_prefix->scope = oa;
|
oa->summary_prefix->scope = oa;
|
||||||
oa->summary_router = OSPF6_ROUTE_TABLE_CREATE(AREA, SUMMARY_ROUTERS);
|
oa->summary_router = OSPF6_ROUTE_TABLE_CREATE(AREA, SUMMARY_ROUTERS);
|
||||||
|
@ -1100,7 +1100,6 @@ struct ospf6_route_table *ospf6_route_table_create(int s, int t)
|
|||||||
void ospf6_route_table_delete(struct ospf6_route_table *table)
|
void ospf6_route_table_delete(struct ospf6_route_table *table)
|
||||||
{
|
{
|
||||||
ospf6_route_remove_all(table);
|
ospf6_route_remove_all(table);
|
||||||
bf_free(table->idspace);
|
|
||||||
route_table_finish(table->table);
|
route_table_finish(table->table);
|
||||||
XFREE(MTYPE_OSPF6_ROUTE_TABLE, table);
|
XFREE(MTYPE_OSPF6_ROUTE_TABLE, table);
|
||||||
}
|
}
|
||||||
|
@ -241,8 +241,6 @@ struct ospf6_route_table {
|
|||||||
|
|
||||||
uint32_t count;
|
uint32_t count;
|
||||||
|
|
||||||
bitfield_t idspace;
|
|
||||||
|
|
||||||
/* hooks */
|
/* hooks */
|
||||||
void (*hook_add)(struct ospf6_route *);
|
void (*hook_add)(struct ospf6_route *);
|
||||||
void (*hook_change)(struct ospf6_route *);
|
void (*hook_change)(struct ospf6_route *);
|
||||||
|
Loading…
Reference in New Issue
Block a user