From: Roy Marples Date: Tue, 8 Oct 2019 20:05:56 +0000 (+0100) Subject: ARP: remove surperfluous diagnostic. X-Git-Tag: v8.1.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=401ae9a1c0729e1b5aac810c647df631edd9bbdc;p=thirdparty%2Fdhcpcd.git ARP: remove surperfluous diagnostic. --- diff --git a/src/arp.c b/src/arp.c index 0d5a7381..594a5854 100644 --- a/src/arp.c +++ b/src/arp.c @@ -326,10 +326,8 @@ arp_open(struct interface *ifp) state = ARP_STATE(ifp); if (state->bpf_fd == -1) { state->bpf_fd = bpf_open(ifp, bpf_arp); - if (state->bpf_fd == -1) { - logerr("%s: %s", __func__, ifp->name); + if (state->bpf_fd == -1) return -1; - } eloop_event_add(ifp->ctx->eloop, state->bpf_fd, arp_read, ifp); } return state->bpf_fd;