gallivm: remove unused variable
authorBrian Paul <brianp@vmware.com>
Thu, 24 Aug 2017 13:35:49 +0000 (07:35 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 24 Aug 2017 13:36:10 +0000 (07:36 -0600)
Trivial.

src/gallium/auxiliary/gallivm/lp_bld_tgsi.c

index d7e92aa8387a707b481b181a48633e4890a56023..c6b1dcbad3052cc1008586a2d62077e0077bfc95 100644 (file)
@@ -527,8 +527,6 @@ lp_build_tgsi_llvm(
    while (bld_base->pc != -1) {
       const struct tgsi_full_instruction *instr =
          bld_base->instructions + bld_base->pc;
-      const struct tgsi_opcode_info *opcode_info =
-         tgsi_get_opcode_info(instr->Instruction.Opcode);
       if (!lp_build_tgsi_inst_llvm(bld_base, instr)) {
          _debug_printf("warning: failed to translate tgsi opcode %s to LLVM\n",
                        tgsi_get_opcode_name(instr->Instruction.Opcode));