mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 15:33:56 +00:00
Merge pull request #2576 from pacovn/Coverity_1399228_Logically_dead_code
bgpd: dead code (Coverity 1399228)
This commit is contained in:
commit
d55c2456e8
@ -388,7 +388,6 @@ int rfapiStream2Vty(void *stream, /* input */
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (stream) {
|
||||
*vty = stream; /* VTYNL requires vty to be legit */
|
||||
*fp = (int (*)(void *, const char *, ...))vty_out;
|
||||
*outstream = stream;
|
||||
@ -396,9 +395,6 @@ int rfapiStream2Vty(void *stream, /* input */
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* called from bgpd/bgp_vty.c'route_vty_out() */
|
||||
void rfapi_vty_out_vncinfo(struct vty *vty, struct prefix *p,
|
||||
struct bgp_info *bi, safi_t safi)
|
||||
|
Loading…
Reference in New Issue
Block a user