From: Donald Sharp Date: Wed, 3 Feb 2016 02:02:42 +0000 (-0500) Subject: bgpd: Removed unused variable from 'struct attr_extra' X-Git-Tag: frr-2.0-rc1~1142^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d619cb67e734be7f02b4df262e6d6c43af042642;p=mirror%2Ffrr.git bgpd: Removed unused variable from 'struct attr_extra' The mp_nexthop_local_in variable is never used. Remove it from the code base. Signed-off-by: Donald Sharp --- diff --git a/bgpd/bgp_attr.h b/bgpd/bgp_attr.h index 789422f640..5a5492aad4 100644 --- a/bgpd/bgp_attr.h +++ b/bgpd/bgp_attr.h @@ -60,10 +60,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA struct attr_extra { /* Multi-Protocol Nexthop, AFI IPv6 */ -#ifdef HAVE_IPV6 struct in6_addr mp_nexthop_global; struct in6_addr mp_nexthop_local; -#endif /* HAVE_IPV6 */ /* Extended Communities attribute. */ struct ecommunity *ecommunity; @@ -75,7 +73,6 @@ struct attr_extra struct transit *transit; struct in_addr mp_nexthop_global_in; - struct in_addr mp_nexthop_local_in; /* Aggregator Router ID attribute */ struct in_addr aggregator_addr;