From: Alyssa Rosenzweig Date: Wed, 11 Mar 2020 12:37:58 +0000 (-0400) Subject: pan/midgard: Remove unused iterators X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c3f438e0236828839ebf639f8118cb697377bbe1;p=mesa.git pan/midgard: Remove unused iterators Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/midgard/compiler.h b/src/panfrost/midgard/compiler.h index 51ac9566f2e..f4c6e2cfc95 100644 --- a/src/panfrost/midgard/compiler.h +++ b/src/panfrost/midgard/compiler.h @@ -379,12 +379,6 @@ mir_next_op(struct midgard_instruction *ins) #define mir_foreach_block_from(ctx, from, v) \ list_for_each_entry_from(struct midgard_block, v, from, &ctx->blocks, link) -#define mir_foreach_instr(ctx, v) \ - list_for_each_entry(struct midgard_instruction, v, &ctx->current_block->instructions, link) - -#define mir_foreach_instr_safe(ctx, v) \ - list_for_each_entry_safe(struct midgard_instruction, v, &ctx->current_block->instructions, link) - #define mir_foreach_instr_in_block(block, v) \ list_for_each_entry(struct midgard_instruction, v, &block->instructions, link) #define mir_foreach_instr_in_block_rev(block, v) \