summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 10:08:00 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commitc976b427c4e376d93396325a4c1ca47349f618e8 (patch)
tree21197487010235ffb6064c5fea50fdb11207361d /src/gallium/winsys
parentd23d47c065502e6daaa1074f4e6457120dfa152b (diff)
util: remove LIST_DELINIT macro
Just use the inlined function directly. The macro was replaced with the function in ebe304fa540f. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/svga/drm/vmw_fence.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_fence.c b/src/gallium/winsys/svga/drm/vmw_fence.c
index 593be9c797b..a31c3df0b70 100644
--- a/src/gallium/winsys/svga/drm/vmw_fence.c
+++ b/src/gallium/winsys/svga/drm/vmw_fence.c
@@ -107,7 +107,7 @@ vmw_fences_release(struct vmw_fence_ops *ops)
mtx_lock(&ops->mutex);
LIST_FOR_EACH_ENTRY_SAFE(fence, n, &ops->not_signaled, ops_list)
- LIST_DELINIT(&fence->ops_list);
+ list_delinit(&fence->ops_list);
mtx_unlock(&ops->mutex);
}
@@ -150,7 +150,7 @@ vmw_fences_signal(struct pb_fence_ops *fence_ops,
break;
p_atomic_set(&fence->signalled, 1);
- LIST_DELINIT(&fence->ops_list);
+ list_delinit(&fence->ops_list);
}
ops->last_signaled = signaled;
ops->last_emitted = emitted;
@@ -264,7 +264,7 @@ vmw_fence_reference(struct vmw_winsys_screen *vws,
vmw_ioctl_fence_unref(vws, vfence->handle);
mtx_lock(&ops->mutex);
- LIST_DELINIT(&vfence->ops_list);
+ list_delinit(&vfence->ops_list);
mtx_unlock(&ops->mutex);
}