about summary refs log tree commit homepage
path: root/ext/sleepy_penguin/timerfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sleepy_penguin/timerfd.c')
-rw-r--r--ext/sleepy_penguin/timerfd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/sleepy_penguin/timerfd.c b/ext/sleepy_penguin/timerfd.c
index e3af46c..7957802 100644
--- a/ext/sleepy_penguin/timerfd.c
+++ b/ext/sleepy_penguin/timerfd.c
@@ -120,8 +120,6 @@ static VALUE expirations(int argc, VALUE *argv, VALUE self)
         rb_scan_args(argc, argv, "01", &nonblock);
         if (RTEST(nonblock))
                 rb_sp_set_nonblock(fd);
-        else
-                blocking_io_prepare(fd);
 retry:
         r = (ssize_t)rb_sp_fd_region(tfd_read, &buf, fd);
         if (r < 0) {