aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2019-10-28 21:27:52 +1100
committerTimothy Arceri <[email protected]>2019-10-28 11:24:38 +0000
commit7f106a2b5d0b27c1ce47a4b335c4cc8ae9cd460b (patch)
tree1307edca18a23a59f1a50d2bcc41d054a7453676 /src/intel/vulkan/anv_device.c
parentc578600489e35abb481816c87124b1dc6b279655 (diff)
util: rename list_empty() to list_is_empty()
This makes it clear that it's a boolean test and not an action (eg. "empty the list"). Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 9e6eaab8c80..75654da8f24 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -68,7 +68,7 @@ compiler_debug_log(void *data, const char *fmt, ...)
char str[MAX_DEBUG_MESSAGE_LENGTH];
struct anv_device *device = (struct anv_device *)data;
- if (list_empty(&device->instance->debug_report_callbacks.callbacks))
+ if (list_is_empty(&device->instance->debug_report_callbacks.callbacks))
return;
va_list args;