Skip to content

Commit

Permalink
bgpd: Drop unused function bgp_evpn_attr_get_df_pref()
Browse files Browse the repository at this point in the history
Signed-off-by: Donatas Abraitis <[email protected]>
  • Loading branch information
ton31337 committed Feb 6, 2024
1 parent 471e4b7 commit bd7bad9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bgpd/bgp_evpn_mh.h
Original file line number Diff line number Diff line change
Expand Up @@ -388,11 +388,6 @@ static inline bool bgp_evpn_attr_is_local_es(struct attr *attr)
return attr ? !!(attr->es_flags & ATTR_ES_IS_LOCAL) : false;
}

static inline uint32_t bgp_evpn_attr_get_df_pref(struct attr *attr)
{
return (attr) ? attr->df_pref : 0;
}

static inline bool bgp_evpn_local_es_is_active(struct bgp_evpn_es *es)
{
return (es->flags & BGP_EVPNES_OPER_UP)
Expand Down

0 comments on commit bd7bad9

Please sign in to comment.