mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 14:40:47 +00:00
zebra: Reduce unneeded lookup in rib_process
the lookup of the src_p and dest_p is not needed since the values are never used. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
898b4a6d3b
commit
085e8f8f6b
@ -1088,9 +1088,7 @@ static void rib_process(struct route_node *rn)
|
||||
rib_dest_t *dest;
|
||||
struct zebra_vrf *zvrf = NULL;
|
||||
struct vrf *vrf;
|
||||
const struct prefix *p, *src_p;
|
||||
|
||||
srcdest_rnode_prefixes(rn, &p, &src_p);
|
||||
vrf_id_t vrf_id = VRF_UNKNOWN;
|
||||
|
||||
assert(rn);
|
||||
|
Loading…
Reference in New Issue
Block a user