]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: remove unnecessary parens in compare 212/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 Feb 2017 18:13:05 +0000 (18:13 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 17 Feb 2017 18:13:05 +0000 (18:13 +0000)
For clean build under latest clang

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_attr.c

index 929a9fb4add04569711ddbc48409788c4a50ed5a..153187fd43603b9d9632e93fe6171de7c81c6e41 100644 (file)
@@ -2872,7 +2872,7 @@ bgp_packet_mpattr_prefix (struct stream *s, afi_t afi, safi_t safi,
       stream_put (s, prd->val, 8);
       stream_put (s, &p->u.prefix, PSIZE (p->prefixlen));
     }
-  else if ((safi == SAFI_EVPN))
+  else if (safi == SAFI_EVPN)
     {
       bgp_packet_mpattr_route_type_5(s, p, prd, tag, attr);
     }