mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +00:00
zebra: remove unused variable
It looks like 'nexthop_fib_num' has been lingering around since 2003 without any use. Remove it. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
This commit is contained in:
parent
cc1e9ed2ab
commit
e3edd1d1d4
@ -93,7 +93,6 @@ struct rib
|
|||||||
/* Nexthop information. */
|
/* Nexthop information. */
|
||||||
u_char nexthop_num;
|
u_char nexthop_num;
|
||||||
u_char nexthop_active_num;
|
u_char nexthop_active_num;
|
||||||
u_char nexthop_fib_num;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/* meta-queue structure:
|
/* meta-queue structure:
|
||||||
|
@ -2459,11 +2459,10 @@ void _rib_dump (const char * func,
|
|||||||
);
|
);
|
||||||
zlog_debug
|
zlog_debug
|
||||||
(
|
(
|
||||||
"%s: nexthop_num == %u, nexthop_active_num == %u, nexthop_fib_num == %u",
|
"%s: nexthop_num == %u, nexthop_active_num == %u",
|
||||||
func,
|
func,
|
||||||
rib->nexthop_num,
|
rib->nexthop_num,
|
||||||
rib->nexthop_active_num,
|
rib->nexthop_active_num
|
||||||
rib->nexthop_fib_num
|
|
||||||
);
|
);
|
||||||
|
|
||||||
for (ALL_NEXTHOPS_RO(rib->nexthop, nexthop, tnexthop, recursing))
|
for (ALL_NEXTHOPS_RO(rib->nexthop, nexthop, tnexthop, recursing))
|
||||||
|
Loading…
Reference in New Issue
Block a user