diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-01-14 12:37:23 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-01-18 08:39:40 -0500 |
| commit | 085e8f8f6b329bf8d0a1b45e9a4078fca3398ece (patch) | |
| tree | 4fb10c2858e6ddb225f7e11076104093d44e6598 | |
| parent | 898b4a6d3b8f08b286c2d8d50b2eea9ff7ae2926 (diff) | |
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>
| -rw-r--r-- | zebra/zebra_rib.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 6885e7048f..03d3fa6490 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -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); |
