summaryrefslogtreecommitdiffstats
path: root/pimd/pim_register.c
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 /pimd/pim_register.c
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 'pimd/pim_register.c')
-rw-r--r--pimd/pim_register.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_register.c b/pimd/pim_register.c
index 013f04bb0..aa9faf692 100644
--- a/pimd/pim_register.c
+++ b/pimd/pim_register.c
@@ -141,7 +141,6 @@ int pim_register_stop_recv(struct interface *ifp, uint8_t *buf, int buf_size)
case PIM_REG_NOINFO:
case PIM_REG_PRUNE:
return 0;
- break;
case PIM_REG_JOIN:
upstream->reg_state = PIM_REG_PRUNE;
pim_channel_del_oif(upstream->channel_oil, pim->regiface,
@@ -154,7 +153,6 @@ int pim_register_stop_recv(struct interface *ifp, uint8_t *buf, int buf_size)
upstream->reg_state = PIM_REG_PRUNE;
pim_upstream_start_register_stop_timer(upstream, 0);
return 0;
- break;
}
return 0;