summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-08-24 07:35:49 -0600
committerBrian Paul <[email protected]>2017-08-24 07:36:10 -0600
commita7e65a443f8aebd40b573a1e16375193c21c36cc (patch)
tree4ddb2ccf895bf140d065a3fdd38b004b1588444e /src
parent84f35c342353d78cb83e3b010c416de07232c4c1 (diff)
gallivm: remove unused variable
Trivial.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_tgsi.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
index d7e92aa8387..c6b1dcbad30 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi.c
@@ -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));