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

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to