setvbuf: Drop setting reent->__cleanup

The __sinit call added with 1eb6db6 already sets reent->__cleanup.

	* libc/stdio/setvbuf.c (setvbuf): Drop setting reent->__cleanup.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2016-03-13 12:03:03 +01:00
parent ddc91e5b2b
commit 8c5911b37c
1 changed files with 0 additions and 1 deletions

View File

@ -203,7 +203,6 @@ nbf:
*/
if (mode == _IOLBF)
fp->_flags |= __SLBF;
reent->__cleanup = _cleanup_r;
fp->_bf._base = fp->_p = (unsigned char *) buf;
fp->_bf._size = size;
/* fp->_lbfsize is still 0 */