diff options
Diffstat (limited to 'newlib/libc/stdio/fwrite.c')
-rw-r--r-- | newlib/libc/stdio/fwrite.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/newlib/libc/stdio/fwrite.c b/newlib/libc/stdio/fwrite.c index 2d9749693..9241ea2cd 100644 --- a/newlib/libc/stdio/fwrite.c +++ b/newlib/libc/stdio/fwrite.c @@ -152,8 +152,6 @@ _fwrite_r (struct _reent * ptr, CHECK_INIT (ptr, fp); _newlib_flockfile_start (fp); - if (ORIENT (fp, -1) != -1) - goto ret; /* Make sure we can write. */ if (cantwrite (ptr, fp)) goto ret; |