about summary refs log tree commit diff
path: root/libio/iosetvbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iosetvbuf.c')
-rw-r--r--libio/iosetvbuf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libio/iosetvbuf.c b/libio/iosetvbuf.c
index addf4ed1c4..06d9f73fc4 100644
--- a/libio/iosetvbuf.c
+++ b/libio/iosetvbuf.c
@@ -94,10 +94,6 @@ _IO_setvbuf (fp, buf, mode, size)
       goto unlock_return;
     }
   result = _IO_SETBUF (fp, buf, size) == NULL ? EOF : 0;
-  if (result == 0 && fp->_vtable_offset == 0 && fp->_mode == 0
-      && _IO_CHECK_WIDE (fp))
-    /* We also have to set the buffer using the wide char function.  */
-    result = _IO_WSETBUF (fp, buf, size) == NULL ? EOF : 0;
 
 unlock_return:
   _IO_funlockfile (fp);