[PATCH] fflush.c: remove duplicate validation
ideal <[email protected]> Wed, 16 Sep 2015 10:23:31 +0800
| Newsgroups | gmane.comp.lib.uclibc.general |
|---|---|
| Message-ID | <[email protected]> |
remove duplicate validation of stream Signed-off-by: ideal <[email protected]> --- libc/stdio/fflush.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c index d9104a4..d47d070 100644 --- a/libc/stdio/fflush.c +++ b/libc/stdio/fflush.c @@ -140,12 +140,6 @@ int fflush_unlocked(register FILE *stream) } #endif -#ifndef NDEBUG - if ((stream != NULL) && (stream != (FILE *) &_stdio_openlist)) { - __STDIO_STREAM_VALIDATE(stream); /* debugging only */ - } -#endif - return retval; #else /* __STDIO_BUFFERS --------------------------------------- */ -- 2.4.3