summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/stdio/freopen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/stdio/freopen.c b/lib/libc/stdio/freopen.c
index 66794dd..eba8470 100644
--- a/lib/libc/stdio/freopen.c
+++ b/lib/libc/stdio/freopen.c
@@ -188,9 +188,6 @@ finish:
FREELB(fp);
fp->_lb._size = 0;
fp->_extra->orientation = 0;
- memset(&fp->_extra->state, 0, sizeof(fp->_extra->state));
- memset(&fp->_extra->cstate, 0, sizeof(fp->_extra->cstate));
- fp->_extra->cstatepos = 0;
if (f < 0) { /* did not get it after all */
fp->_flags = 0; /* set it free */
OpenPOWER on IntegriCloud