summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio/stdio.c')
-rw-r--r--lib/libc/stdio/stdio.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libc/stdio/stdio.c b/lib/libc/stdio/stdio.c
index c0860eb..4bee608 100644
--- a/lib/libc/stdio/stdio.c
+++ b/lib/libc/stdio/stdio.c
@@ -164,11 +164,6 @@ _sseek(fp, offset, whence)
errret = errno;
if (errno == 0)
errno = serrno;
-
- if (errret == 0 && (offset != 0 || whence != SEEK_CUR))
- /* Disallow fseek() optimization inside read buffer */
- fp->_flags |= __SMOD;
-
/*
* Disallow negative seeks per POSIX.
* It is needed here to help upper level caller
OpenPOWER on IntegriCloud