[Mesa-dev] [PATCH 1/7] egl: remove unused _eglSetLogLevel()
Emil Velikov
emil.l.velikov at gmail.com
Thu May 4 18:46:56 UTC 2017
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/egl/main/egllog.c | 21 ---------------------
src/egl/main/egllog.h | 4 ----
2 files changed, 25 deletions(-)
diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c
index 956946532cd..c8307482902 100644
--- a/src/egl/main/egllog.c
+++ b/src/egl/main/egllog.c
@@ -102,27 +102,6 @@ _eglSetLogProc(_EGLLogProc logger)
/**
- * Set the log reporting level.
- */
-void
-_eglSetLogLevel(EGLint level)
-{
- switch (level) {
- case _EGL_FATAL:
- case _EGL_WARNING:
- case _EGL_INFO:
- case _EGL_DEBUG:
- mtx_lock(&logging.mutex);
- logging.level = level;
- mtx_unlock(&logging.mutex);
- break;
- default:
- break;
- }
-}
-
-
-/**
* The default logger. It prints the message to stderr.
*/
static void
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h
index cf58525005e..9035a7a3e74 100644
--- a/src/egl/main/egllog.h
+++ b/src/egl/main/egllog.h
@@ -52,10 +52,6 @@ _eglSetLogProc(_EGLLogProc logger);
extern void
-_eglSetLogLevel(EGLint level);
-
-
-extern void
_eglLog(EGLint level, const char *fmtStr, ...);
--
2.12.2
More information about the mesa-dev
mailing list