nir: remove unused variable
authorTimothy Arceri <timothy.arceri@collabora.com>
Sat, 3 Sep 2016 10:30:19 +0000 (20:30 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 3 Sep 2016 10:30:19 +0000 (20:30 +1000)
This was let over from aad4f15506c

Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/compiler/nir/nir_control_flow.c

index 05cc9e95a1e3ac462e21380ec444b1388e58cd1e..1ff7a530f2562f20e2ddb72d8756b183dab9e864 100644 (file)
@@ -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])