]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Remove redundant check for bgp against NULL 14578/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 12 Oct 2023 13:36:45 +0000 (16:36 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 12 Oct 2023 13:36:45 +0000 (16:36 +0300)
commit4e365c5c86abb49349f4851f5c6fb05a5cc2cb3c
treec9bc692f43e5e4d20388d744c62cf36c7bfb5781
parent9bc4d9eaec92589deda092bd867054e25e64be3f
bgpd: Remove redundant check for bgp against NULL

bgp_orig is never NULL in the code path, and coverity is angry on this.

Let's remove this test at all.

Coverity 1566808

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_mplsvpn.c