From 401ae9a1c0729e1b5aac810c647df631edd9bbdc Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 8 Oct 2019 21:05:56 +0100 Subject: [PATCH] ARP: remove surperfluous diagnostic. --- src/arp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.47.2