about summary refs log tree commit diff
path: root/libio/iofwide.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iofwide.c')
-rw-r--r--libio/iofwide.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libio/iofwide.c b/libio/iofwide.c
index 12649fd9c7..c0ee083029 100644
--- a/libio/iofwide.c
+++ b/libio/iofwide.c
@@ -92,9 +92,6 @@ _IO_fwide (fp, mode)
        or the orientation already has been determined.  */
     return fp->_mode;
 
-  _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
-  _IO_flockfile (fp);
-
   /* Set the orientation appropriately.  */
   if (mode > 0)
     {
@@ -150,9 +147,6 @@ _IO_fwide (fp, mode)
   /* Set the mode now.  */
   fp->_mode = mode;
 
-  _IO_funlockfile (fp);
-  _IO_cleanup_region_end (0);
-
   return mode;
 }