summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-01-29 15:35:12 -0500
committerRob Clark <[email protected]>2018-02-10 14:54:58 -0500
commit98702c1010a16fe78e2c4e39e005309cc2b12157 (patch)
treeca72f277f6d6a3377cb095685b279fa1fdd5db8c /src/gallium/drivers/freedreno
parent930ca0e03862a86b4fe0933661e4220cf114bfb0 (diff)
freedreno/ir3: remove pointless statement
Function ends after this if/else ladder, so it was pointless. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_cp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_cp.c b/src/gallium/drivers/freedreno/ir3/ir3_cp.c
index 61b4b201215..6a48a7dcecc 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_cp.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_cp.c
@@ -350,9 +350,6 @@ reg_cp(struct ir3_cp_ctx *ctx, struct ir3_instruction *instr,
reg->instr = ssa(src_reg);
}
- src = ssa(reg); /* could be null for IR3_REG_ARRAY case */
- if (!src)
- return;
} else if (is_same_type_mov(src) &&
/* cannot collapse const/immed/etc into meta instrs: */
!is_meta(instr)) {