]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove erroneous goto.
authorRoy Marples <roy@marples.name>
Thu, 5 Mar 2015 17:40:56 +0000 (17:40 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Mar 2015 17:40:56 +0000 (17:40 +0000)
eloop.c

diff --git a/eloop.c b/eloop.c
index 4d51c077e055999edd2f1e0796cc870d63733309..6cf224aa188ed3bee848e2f172886371d1d60c67 100644 (file)
--- a/eloop.c
+++ b/eloop.c
@@ -119,7 +119,6 @@ eloop_event_add(struct eloop_ctx *ctx, int fd,
                                    0, 0, UPTR(e));
                        error = kevent(ctx->poll_fd, ke,
                            e->write_cb || write_cb ? 2 : 1, NULL, 0, NULL);
-                               goto err;
 #elif defined(HAVE_EPOLL)
                        epe.data.ptr = e;
                        error = epoll_ctl(ctx->poll_fd, EPOLL_CTL_MOD,