mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-03 22:54:30 +00:00
zebra: Remove #if 0 code
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
62e0464d73
commit
cadc15cfe2
@ -2481,13 +2481,6 @@ static int netlink_nexthop_process_group(struct rtattr **tb,
|
|||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
// TODO: Need type for something?
|
|
||||||
zlog_debug("Nexthop group type: %d",
|
|
||||||
*((uint16_t *)RTA_DATA(tb[NHA_GROUP_TYPE])));
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (int i = 0; ((i < count) && (i < z_grp_size)); i++) {
|
for (int i = 0; ((i < count) && (i < z_grp_size)); i++) {
|
||||||
z_grp[i].id = n_grp[i].id;
|
z_grp[i].id = n_grp[i].id;
|
||||||
z_grp[i].weight = n_grp[i].weight + 1;
|
z_grp[i].weight = n_grp[i].weight + 1;
|
||||||
|
@ -2323,14 +2323,6 @@ static void process_subq_route(struct listnode *lnode, uint8_t qindex)
|
|||||||
UNSET_FLAG(rib_dest_from_rnode(rnode)->flags,
|
UNSET_FLAG(rib_dest_from_rnode(rnode)->flags,
|
||||||
RIB_ROUTE_QUEUED(qindex));
|
RIB_ROUTE_QUEUED(qindex));
|
||||||
|
|
||||||
#if 0
|
|
||||||
else
|
|
||||||
{
|
|
||||||
zlog_debug ("%s: called for route_node (%p, %d) with no ribs",
|
|
||||||
__func__, rnode, route_node_get_lock_count(rnode));
|
|
||||||
zlog_backtrace(LOG_DEBUG);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
route_unlock_node(rnode);
|
route_unlock_node(rnode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user