summaryrefslogtreecommitdiffstats
path: root/bgpd/rfapi
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-13 14:21:26 +0100
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-02-13 14:39:54 +0100
commit752022670a294584ce45161a182f5b5790da45b9 (patch)
treed8bf19c32a08a1dd4ba2799ed2fee8450fe735e1 /bgpd/rfapi
parentMerge pull request #5798 from donaldsharp/bgp_packet_reformat (diff)
downloadfrr-752022670a294584ce45161a182f5b5790da45b9.tar.xz
frr-752022670a294584ce45161a182f5b5790da45b9.zip
*: Remove break after return
Just a deadcode. Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/rfapi')
-rw-r--r--bgpd/rfapi/rfapi_import.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/rfapi/rfapi_import.c b/bgpd/rfapi/rfapi_import.c
index 61cbae167..8fbc4d9d1 100644
--- a/bgpd/rfapi/rfapi_import.c
+++ b/bgpd/rfapi/rfapi_import.c
@@ -1092,7 +1092,6 @@ static int rfapiVpnBiNhEqualsPt(struct bgp_path_info *bpi,
default:
return 0;
- break;
}
return 1;
@@ -1135,7 +1134,6 @@ static int rfapiVpnBiSamePtUn(struct bgp_path_info *bpi1,
default:
return 0;
- break;
}
memset(&pfx_un1, 0, sizeof(pfx_un1));
@@ -1427,7 +1425,6 @@ rfapiRouteInfo2NextHopEntry(struct rfapi_ip_prefix *rprefix,
__func__, new->un_address.addr_family, bpi);
rfapi_free_next_hop_list(new);
return NULL;
- break;
}
}