Remove duplicate stdio initializations

Removed duplicate stdio initializations from __sinit(). These
are already initialized in the _REENT_INIT macro in sys/reent.h.
This simplification enables the reduction of _GLOBAL_REENT
dependency in a follow-on patch.
This commit is contained in:
Matt Joyce 2022-04-01 11:30:00 +02:00 committed by Sebastian Huber
parent 7c804d160d
commit 5a066d46c9
1 changed files with 0 additions and 4 deletions

View File

@ -259,10 +259,6 @@ __sinit (struct _reent *s)
s->_stdin = __sfp(s);
s->_stdout = __sfp(s);
s->_stderr = __sfp(s);
# else /* _REENT_GLOBAL_STDIO_STREAMS */
s->_stdin = &__sf[0];
s->_stdout = &__sf[1];
s->_stderr = &__sf[2];
# endif /* _REENT_GLOBAL_STDIO_STREAMS */
#endif