summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/getdelim.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/getdelim.c')
-rw-r--r--newlib/libc/stdio/getdelim.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/stdio/getdelim.c b/newlib/libc/stdio/getdelim.c
index 41460ab42..23fc50218 100644
--- a/newlib/libc/stdio/getdelim.c
+++ b/newlib/libc/stdio/getdelim.c
@@ -81,7 +81,6 @@ _DEFUN(__getdelim, (bufptr, n, delim, fp),
CHECK_INIT (_REENT, fp);
- __sfp_lock_acquire ();
_flockfile (fp);
numbytes = *n;
@@ -131,7 +130,6 @@ _DEFUN(__getdelim, (bufptr, n, delim, fp),
}
_funlockfile (fp);
- __sfp_lock_release ();
/* if no input data, return failure */
if (ptr == buf)