]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: remove check returning value of RB_INSERT()
authoranlan_cs <vic.lan@pica8.com>
Sat, 19 Mar 2022 05:15:09 +0000 (13:15 +0800)
committeranlan_cs <vic.lan@pica8.com>
Sun, 20 Mar 2022 09:13:29 +0000 (17:13 +0800)
commit928095589ab8eecb4a774b7cc743a1c4f5117c2d
treeb5a64d485b9b97b22d4e5b85ed94314d432076f9
parent2a778afe9d047a35d63aee0aa78aa6634ad52d20
bgpd: remove check returning value of RB_INSERT()

Since the `RB_INSERT()` is called after not found in RB tree, it MUST be ok and
and return zero. The check of returning value of `RB_INSERT()` is redundant,
just remove them.

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_evpn_mh.c