aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/refill.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/refill.c')
-rw-r--r--newlib/libc/stdio/refill.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/newlib/libc/stdio/refill.c b/newlib/libc/stdio/refill.c
index c1ef7e1..cd71ed1 100644
--- a/newlib/libc/stdio/refill.c
+++ b/newlib/libc/stdio/refill.c
@@ -43,9 +43,6 @@ __srefill_r (struct _reent * ptr,
CHECK_INIT (ptr, fp);
- if (ORIENT (fp, -1) != -1)
- return EOF;
-
fp->_r = 0; /* largely a convenience for callers */
/* SysV does not make this test; take it out for compatibility */