`is_vni_param_configured()` is used to check whether RD/RT
configured for specific evpn vni.
There seems to be no need for this mixed check. No caller for
about 5 years, just remove it.
Signed-off-by: anlan_cs <vic.lan@pica8.com>
return (CHECK_FLAG(vpn->flags, VNI_FLAG_EXPRT_CFGD));
}
-static inline int is_vni_param_configured(struct bgpevpn *vpn)
-{
- return (is_rd_configured(vpn) || is_import_rt_configured(vpn)
- || is_export_rt_configured(vpn));
-}
-
static inline void encode_es_rt_extcomm(struct ecommunity_val *eval,
struct ethaddr *mac)
{