From: Eric Engestrom Date: Fri, 27 Dec 2019 20:59:26 +0000 (+0000) Subject: egl: drop confusing mincore() error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d7d1da1ac4b02c92da1624d3eb16004268dabac;p=mesa.git egl: drop confusing mincore() error message A user came to me asking how to fix this error, but it's entirely expected that `get_wl_surface_proxy()` on recent enough wayland compositors will always print it. Let's just remove the message altogether, it is basically never useful. Reviewed-by: Matt Turner Signed-off-by: Eric Engestrom Tested-by: Marge Bot Part-of: --- diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c index 5760edc3d3c..8a8c03c924f 100644 --- a/src/egl/main/eglglobals.c +++ b/src/egl/main/eglglobals.c @@ -38,7 +38,6 @@ #include "egldevice.h" #include "egldisplay.h" #include "egldriver.h" -#include "egllog.h" #include "util/macros.h" @@ -173,7 +172,6 @@ _eglPointerIsDereferencable(void *p) addr &= ~(page_size - 1); if (mincore((void *) addr, page_size, &valid) < 0) { - _eglLog(_EGL_DEBUG, "mincore failed: %m"); return EGL_FALSE; }