From c5a4f27277ab593e0dce3ef34b73bbc5c2b2fe6a Mon Sep 17 00:00:00 2001
From: Nick Zavaritsky <mejedi@gmail.com>
Date: Wed, 7 Oct 2015 12:47:04 +0300
Subject: [PATCH] Revert "Fix gh-1083"

Wrong fix.

This reverts commit cd200c650c2aa0ecd7be9dfad4e8c0935beb304a.
---
 third_party/libeio/eio.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/third_party/libeio/eio.c b/third_party/libeio/eio.c
index 29656f54b2..77cdff851b 100644
--- a/third_party/libeio/eio.c
+++ b/third_party/libeio/eio.c
@@ -1727,27 +1727,13 @@ eio__statvfsat (int dirfd, const char *path, struct statvfs *buf)
 
 /*****************************************************************************/
 
-static void
-eio_want_poll(void *unused)
-{
-  (void)unused;
-  eio_want_poll_cb();
-}
-
-static void
-eio_done_poll(void *unused)
-{
-  (void)unused;
-  eio_done_poll_cb();
-}
-
 int ecb_cold
 eio_init (void (*want_poll)(void), void (*done_poll)(void))
 {
   eio_want_poll_cb = want_poll;
   eio_done_poll_cb = done_poll;
 
-  return etp_init (EIO_POOL, 0, eio_want_poll, eio_done_poll);
+  return etp_init (EIO_POOL, 0, 0, 0);
 }
 
 ecb_inline void
-- 
GitLab