From: Roy Marples Date: Fri, 5 Jun 2020 13:52:35 +0000 (+0100) Subject: ARP: gc stale function arp_cancel X-Git-Tag: v9.1.2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff6831723b04b617f73e88cf84387f46eea1faf5;p=thirdparty%2Fdhcpcd.git ARP: gc stale function arp_cancel --- diff --git a/src/arp.c b/src/arp.c index fef12425..62602f93 100644 --- a/src/arp.c +++ b/src/arp.c @@ -577,13 +577,6 @@ arp_new(struct interface *ifp, const struct in_addr *addr) return astate; } -void -arp_cancel(struct arp_state *astate) -{ - - eloop_timeout_delete(astate->iface->ctx->eloop, NULL, astate); -} - void arp_free(struct arp_state *astate) { diff --git a/src/arp.h b/src/arp.h index beacfec6..e8da0fb8 100644 --- a/src/arp.h +++ b/src/arp.h @@ -98,7 +98,6 @@ struct arp_state *arp_new(struct interface *, const struct in_addr *); 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 *);