aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/common
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/common
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/common')
-rw-r--r--src/intel/common/gen_aux_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/common/gen_aux_map.c b/src/intel/common/gen_aux_map.c
index 722d85238a9..7acf03cbb2e 100644
--- a/src/intel/common/gen_aux_map.c
+++ b/src/intel/common/gen_aux_map.c
@@ -165,7 +165,7 @@ align_and_verify_space(struct gen_aux_map_context *ctx, uint32_t size,
static void
get_current_pos(struct gen_aux_map_context *ctx, uint64_t *gpu, uint64_t **map)
{
- assert(!list_empty(&ctx->buffers));
+ assert(!list_is_empty(&ctx->buffers));
struct aux_map_buffer *tail =
list_last_entry(&ctx->buffers, struct aux_map_buffer, link);
if (gpu)