[PATCH] fflush.c: remove duplicate validation
ideal
idealities at gmail.com
Wed Sep 16 02:23:31 UTC 2015
remove duplicate validation of stream
Signed-off-by: ideal <idealities at gmail.com>
---
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
More information about the uClibc
mailing list