util: rename list_empty() to list_is_empty()
[mesa.git] / src / broadcom / compiler / qpu_schedule.c
index c15218e267e213a6cb2d195b0b0b0c23d8eed51b..9f11fe27eb869dc5631cb7adc5434cd5bf93a632 100644 (file)
@@ -1299,7 +1299,7 @@ schedule_instructions(struct v3d_compile *c,
         const struct v3d_device_info *devinfo = c->devinfo;
         uint32_t time = 0;
 
-        while (!list_empty(&scoreboard->dag->heads)) {
+        while (!list_is_empty(&scoreboard->dag->heads)) {
                 struct schedule_node *chosen =
                         choose_instruction_to_schedule(devinfo,
                                                        scoreboard,
@@ -1439,7 +1439,7 @@ qpu_schedule_instructions_block(struct v3d_compile *c,
         list_inithead(&setup_list);
 
         /* Wrap each instruction in a scheduler structure. */
-        while (!list_empty(&block->instructions)) {
+        while (!list_is_empty(&block->instructions)) {
                 struct qinst *qinst = (struct qinst *)block->instructions.next;
                 struct schedule_node *n =
                         rzalloc(mem_ctx, struct schedule_node);