From: Emil Velikov Date: Fri, 31 Mar 2017 11:17:19 +0000 (+0100) Subject: egl: remove unused _eglSetLogLevel() X-Git-Tag: upstream/18.1.0~9992 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=716e5db61009a6d1728b633966ea608758590d78;p=platform%2Fupstream%2Fmesa.git egl: remove unused _eglSetLogLevel() Signed-off-by: Emil Velikov Reviewed-by: Eric Engestrom Reviewed-by: Chad Versace --- diff --git a/src/egl/main/egllog.c b/src/egl/main/egllog.c index 9569465..c830748 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 cf58525..9035a7a 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, ...);