Fix an unused variable warning

Trivial.  Deleted the 2 unneeded lines.
This commit is contained in:
Jason Ekstrand
2015-05-25 09:27:08 -07:00
parent 843ff4ba2a
commit cc3d275557
-2
View File
@@ -188,8 +188,6 @@ ptn_get_src(struct ptn_compile *c, const struct prog_src_register *prog_src)
/* This is a negative offset which should be added to the address
* register's value.
*/
nir_alu_src addr_src = { NIR_SRC_INIT };
addr_src.src = nir_src_for_reg(c->addr_reg);
reladdr = nir_iadd(b, reladdr, nir_imm_int(b, prog_src->Index));
deref_arr->base_offset = 0;