]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Removed unused variable from 'struct attr_extra'
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 Feb 2016 02:02:42 +0000 (21:02 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 Feb 2016 02:16:44 +0000 (18:16 -0800)
The mp_nexthop_local_in variable is never used.  Remove it
from the code base.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_attr.h

index 789422f640f546aa3632f83fe3260e9238d20cc6..5a5492aad4f901304f0b7a2a089dbe56d17d08a9 100644 (file)
@@ -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;