changeset 5320:6b1dead2555e draft

ARP: gc stale function arp_cancel
author Roy Marples <roy@marples.name>
date Fri, 05 Jun 2020 14:52:35 +0100
parents 3180f8b46cc4
children 41b99a2a12cf
files src/arp.c src/arp.h
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/arp.c	Fri Jun 05 14:39:06 2020 +0100
+++ b/src/arp.c	Fri Jun 05 14:52:35 2020 +0100
@@ -578,13 +578,6 @@
 }
 
 void
-arp_cancel(struct arp_state *astate)
-{
-
-	eloop_timeout_delete(astate->iface->ctx->eloop, NULL, astate);
-}
-
-void
 arp_free(struct arp_state *astate)
 {
 	struct interface *ifp;
--- a/src/arp.h	Fri Jun 05 14:39:06 2020 +0100
+++ b/src/arp.h	Fri Jun 05 14:52:35 2020 +0100
@@ -98,7 +98,6 @@
 void arp_probe(struct arp_state *);
 struct arp_state *arp_announceaddr(struct dhcpcd_ctx *, const struct in_addr *);
 struct arp_state *arp_ifannounceaddr(struct interface *, const struct in_addr *);
-void arp_cancel(struct arp_state *);
 struct arp_state * arp_find(struct interface *, const struct in_addr *);
 void arp_free(struct arp_state *);
 void arp_freeaddr(struct interface *, const struct in_addr *);