util: remove LIST_IS_EMPTY macro
[mesa.git] / src / gallium / auxiliary / pipebuffer / pb_bufmgr_debug.c
index 8cedc42b9164e509b6b72194e90eb492f06b5782..8e54e811488a4684ea88be578ccf296c50306141 100644 (file)
@@ -391,7 +391,7 @@ pb_debug_manager_create_buffer(struct pb_manager *_mgr,
 #if 0
       mtx_lock(&mgr->mutex);
       debug_printf("%s: failed to create buffer\n", __FUNCTION__);
-      if(!LIST_IS_EMPTY(&mgr->list))
+      if(!list_is_empty(&mgr->list))
          pb_debug_manager_dump_locked(mgr);
       mtx_unlock(&mgr->mutex);
 #endif
@@ -444,7 +444,7 @@ pb_debug_manager_destroy(struct pb_manager *_mgr)
    struct pb_debug_manager *mgr = pb_debug_manager(_mgr);
    
    mtx_lock(&mgr->mutex);
-   if(!LIST_IS_EMPTY(&mgr->list)) {
+   if(!list_is_empty(&mgr->list)) {
       debug_printf("%s: unfreed buffers\n", __FUNCTION__);
       pb_debug_manager_dump_locked(mgr);
    }