]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
ARP: remove surperfluous diagnostic.
authorRoy Marples <roy@marples.name>
Tue, 8 Oct 2019 20:05:56 +0000 (21:05 +0100)
committerRoy Marples <roy@marples.name>
Tue, 8 Oct 2019 20:05:56 +0000 (21:05 +0100)
src/arp.c

index 0d5a73810cd5dda8fe30d1962a94efe2ba4ff30f..594a5854ac37d29cf2f4938d136f54c57f9b0aa0 100644 (file)
--- 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;