From: Alyssa Rosenzweig Date: Sun, 21 Apr 2019 19:13:27 +0000 (+0000) Subject: panfrost/midgard: Remove unused mir_next_block X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b380a7868a588a0aabd31b6f01e9bcd674b26ae;p=mesa.git panfrost/midgard: Remove unused mir_next_block Signed-off-by: Alyssa Rosenzweig --- diff --git a/src/gallium/drivers/panfrost/midgard/midgard_compile.c b/src/gallium/drivers/panfrost/midgard/midgard_compile.c index fcc17a5a092..539f8ca12bb 100644 --- a/src/gallium/drivers/panfrost/midgard/midgard_compile.c +++ b/src/gallium/drivers/panfrost/midgard/midgard_compile.c @@ -525,13 +525,6 @@ mir_next_op(struct midgard_instruction *ins) return list_first_entry(&(ins->link), midgard_instruction, link); } -static midgard_block * -mir_next_block(struct midgard_block *blk) -{ - return list_first_entry(&(blk->link), midgard_block, link); -} - - #define mir_foreach_block(ctx, v) list_for_each_entry(struct midgard_block, v, &ctx->blocks, link) #define mir_foreach_block_from(ctx, from, v) list_for_each_entry_from(struct midgard_block, v, from, &ctx->blocks, link)