egl: remove unused _eglSetLogLevel()
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 31 Mar 2017 11:17:19 +0000 (12:17 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 8 May 2017 14:33:12 +0000 (15:33 +0100)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/egl/main/egllog.c
src/egl/main/egllog.h

index 956946532cdda8333a65f78fca0bf077a13e29b7..c830748290295fa8aa19ed33755275fe568eef96 100644 (file)
@@ -101,27 +101,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.
  */
index cf58525005eed872826f9761b340cdbbbd956b97..9035a7a3e74ebd7c13b0e2c11d0a8a1a01c20319 100644 (file)
@@ -51,10 +51,6 @@ extern void
 _eglSetLogProc(_EGLLogProc logger);
 
 
-extern void
-_eglSetLogLevel(EGLint level);
-
-
 extern void
 _eglLog(EGLint level, const char *fmtStr, ...);