Re: [Mesa-dev] [PATCH] egl/dri2: Don't check return result of mtx_unlock().

2016-05-23 Thread Emil Velikov
Thanks Matt. Feel free to drop the mtx_lock checking as well. Reviewed-by: Emil Velikov -Emil ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] egl/dri2: Don't check return result of mtx_unlock().

2016-05-16 Thread Matt Turner
Coverity (CID 1358496) warns that the cleanup code doesn't unlock the mutex (which is arguably kind of stupid, since the only case that can happen is when mtx_unlock() failed!). But, mtx_unlock() isn't going to fail -- the mutex was locked by this thread just a few lines above it. ---