]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Remove dead code.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Jun 2016 12:32:21 +0000 (08:32 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 6 Jun 2016 15:43:00 +0000 (11:43 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zebra.c

index b3e61f2b06685bb1f1558362a426c34623c3ae9a..eaf1b08078c18375a60f38af3d86a1496b3a97d2 100644 (file)
@@ -52,23 +52,6 @@ static int del_oif(struct channel_oil *channel_oil,
                   struct interface *oif,
                   uint32_t proto_mask);
 
-#if 0
-static void zclient_broken(struct zclient *zclient)
-{
-  struct listnode  *ifnode;
-  struct interface *ifp;
-
-  zlog_warn("%s %s: broken zclient connection",
-           __FILE__, __PRETTY_FUNCTION__);
-
-  for (ALL_LIST_ELEMENTS_RO(iflist, ifnode, ifp)) {
-    pim_if_addr_del_all(ifp);
-  }
-
-  /* upon return, zclient will discard connected addresses */
-}
-#endif
-
 /* Router-id update message from zebra. */
 static int pim_router_id_update_zebra(int command, struct zclient *zclient,
                                      zebra_size_t length, vrf_id_t vrf_id)