tree-wide: replace MAYBE_UNUSED with ASSERTED

Suggested-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Eric Engestrom
2019-06-19 12:47:19 +01:00
parent ab9c76769a
commit abc226cf41
81 changed files with 162 additions and 145 deletions

View File

@@ -637,7 +637,7 @@ anv_wait_for_bo_fences(struct anv_device *device,
.tv_nsec = abs_timeout_ns % NSEC_PER_SEC,
};
MAYBE_UNUSED int ret;
ASSERTED int ret;
ret = pthread_cond_timedwait(&device->queue_submit,
&device->mutex, &abstime);
assert(ret != EINVAL);