Signed-off-by: Thomas Wood <thomas.w...@intel.com>
---
 lib/igt_core.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/lib/igt_core.c b/lib/igt_core.c
index 3fd4595..f7763b5 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -1433,20 +1433,8 @@ void igt_log(enum igt_log_level level, const char 
*format, ...)
 {
        va_list args;
 
-       assert(format);
-
-       if (list_subtests)
-               return;
-
-       if (igt_log_level > level)
-               return;
-
        va_start(args, format);
-       if (level == IGT_LOG_WARN) {
-               fflush(stdout);
-               vfprintf(stderr, format, args);
-       } else
-               vprintf(format, args);
+       igt_vlog(level, format, args)
        va_end(args);
 }
 
-- 
2.1.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to