about summary refs log tree commit homepage
path: root/ext/kgio/writev.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/kgio/writev.c')
-rw-r--r--ext/kgio/writev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ext/kgio/writev.c b/ext/kgio/writev.c
index d3ec53e..736aa6f 100644
--- a/ext/kgio/writev.c
+++ b/ext/kgio/writev.c
@@ -249,8 +249,6 @@ static VALUE my_writev(VALUE io, VALUE ary, int io_wait)
         } while (writev_check(&a, n, "writev", io_wait) != 0);
         rb_str_resize(a.vec_buf, 0);
 
-        if (TYPE(a.buf) != T_SYMBOL)
-                kgio_autopush_write(io);
         return a.buf;
 }