From: Timothy Arceri Date: Sat, 3 Sep 2016 10:30:19 +0000 (+1000) Subject: nir: remove unused variable X-Git-Tag: upstream/17.1.0~6668 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1692228a38c21c0abb0b7a7c5ec89ddc94c1ff6a;p=platform%2Fupstream%2Fmesa.git nir: remove unused variable This was let over from aad4f15506c Reviewed-by: Jason Ekstrand --- diff --git a/src/compiler/nir/nir_control_flow.c b/src/compiler/nir/nir_control_flow.c index 05cc9e9..1ff7a53 100644 --- a/src/compiler/nir/nir_control_flow.c +++ b/src/compiler/nir/nir_control_flow.c @@ -530,8 +530,6 @@ remove_phi_src(nir_block *block, nir_block *pred) static void unlink_jump(nir_block *block, nir_jump_type type, bool add_normal_successors) { - nir_block *next = block->successors[0]; - if (block->successors[0]) remove_phi_src(block->successors[0], block); if (block->successors[1])