mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-16 21:22:29 +00:00
bgpd: Remove redundand check against BGP_EVPNES_EVI_LOCAL flag
It's already checked earlier at bgp_evpn_local_es_evi_do_del() Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
eaf8028849
commit
707bb5a09c
@ -3316,9 +3316,6 @@ bgp_evpn_es_evi_local_info_clear(struct bgp_evpn_es_evi *es_evi)
|
||||
{
|
||||
struct bgpevpn *vpn = es_evi->vpn;
|
||||
|
||||
if (!CHECK_FLAG(es_evi->flags, BGP_EVPNES_EVI_LOCAL))
|
||||
return es_evi;
|
||||
|
||||
UNSET_FLAG(es_evi->flags, BGP_EVPNES_EVI_LOCAL);
|
||||
list_delete_node(vpn->local_es_evi_list, &es_evi->l2vni_listnode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user