From 716e5db61009a6d1728b633966ea608758590d78 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Fri, 31 Mar 2017 12:17:19 +0100 Subject: egl: remove unused _eglSetLogLevel() Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom Reviewed-by: Chad Versace --- src/egl/main/egllog.c | 21 --------------------- src/egl/main/egllog.h | 4 ---- 2 files changed, 25 deletions(-) (limited to 'src/egl') 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 @@ -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. */ 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 @@ -51,10 +51,6 @@ extern void _eglSetLogProc(_EGLLogProc logger); -extern void -_eglSetLogLevel(EGLint level); - - extern void _eglLog(EGLint level, const char *fmtStr, ...); -- cgit v1.2.3