tbm_bufmgr bufmgr = bo->bufmgr;
int ret = 0;
- if (bufmgr->backend->bo_lock) {
+ if (bufmgr->backend->bo_lock)
ret = bufmgr->backend->bo_lock(bo, device, opt);
- } else {
+ else
ret = 1;
- }
return ret;
}
{
tbm_bufmgr bufmgr = bo->bufmgr;
- if (bufmgr->backend->bo_unlock) {
+ if (bufmgr->backend->bo_unlock)
bufmgr->backend->bo_unlock(bo);
- }
}
static int
return 1;
}
-/* LCOV_EXCL_STOP */
\ No newline at end of file
+/* LCOV_EXCL_STOP */