]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: bgp_update and bgp_withdraw never return failures
authorDonald Sharp <sharpd@nvidia.com>
Mon, 30 Jan 2023 21:02:23 +0000 (16:02 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 30 Jan 2023 21:02:23 +0000 (16:02 -0500)
commit367b458cb444d005a6fc4606dcf7aca31c16e848
tree5618d2ab48097f9a7c8992a95384da4bd3d241ec
parent65a78243d8cc27e8f3e5f3b20dbbe97ce48df308
bgpd: bgp_update and bgp_withdraw never return failures

These two functions always return 0.  As such any and all
tests against this make no sense.  Remove the return 0
to a void and follow the chain, logically, to remove all
the dead code.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_evpn.c
bgpd/bgp_evpn_mh.c
bgpd/bgp_flowspec.c
bgpd/bgp_mac.c
bgpd/bgp_route.c
bgpd/bgp_route.h