OSDN Git Service

egl/dri2: Don't check return result of mtx_unlock().
authorMatt Turner <mattst88@gmail.com>
Mon, 16 May 2016 21:43:26 +0000 (14:43 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 18 May 2016 18:09:37 +0000 (11:09 -0700)
commit53f64a84047b3f2766e490311c925a36afc64807
tree1e7df38944857681d0a5b0cf835ab5b2ed2f1e89
parentb1e6d069daeda87cb7e14a45a0e4438cc0b399d0
egl/dri2: Don't check return result of mtx_unlock().

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.
src/egl/drivers/dri2/egl_dri2.c