egl/dri2: remove error checks on return values from mtx_lock and cnd_wait
authorDongwon Kim <dongwon.kim@intel.com>
Mon, 15 Aug 2016 22:12:03 +0000 (15:12 -0700)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 23 Aug 2016 11:00:45 +0000 (12:00 +0100)
commitc6e97aaf75f256c43e84cef0dba54f370508c12d
tree0e6e0dc3fbfa77b0697a9ee513a895ee390f4a03
parent96ea753d9eb802c95544c79035e89df38daf15f7
egl/dri2: remove error checks on return values from mtx_lock and cnd_wait

This removes unnecessary error checks on return result of mtx_lock
and cnd_wait calls as in all other places in MESA source since there
is no chance that any of these functions return any of error codes
in current implementation.

This patch also removes a redundent _eglError call that follows
EGL_FALSE check in the bottom of dri2_client_wait_sync.

Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/egl_dri2.c