pinum (renamed from rinum) was never used for anything useful since
the initial revision ~17 years ago. Get rid of it.
Signed-off-by: Renato Westphal <renatowestphal@gmail.com>
for (rn = top; rn; rn = bgp_route_next(rn)) {
struct bgp_path_info *pi;
struct bgp_node *prn = bgp_node_parent_nolock(rn);
- unsigned int pinum = 0;
if (rn == top)
continue;
ts->counts[BGP_STATS_MAX_AGGREGATEABLE]++;
for (pi = bgp_node_get_bgp_path_info(rn); pi; pi = pi->next) {
- pinum++;
ts->counts[BGP_STATS_RIB]++;
if (pi->attr