freedreno/ir3: small cleanup

`target` cannot be NULL here.

Signed-off-by: Rob Clark <robdclark@chromium.org>
This commit is contained in:
Rob Clark 2019-06-28 06:27:17 -07:00
parent 016a9ab2f9
commit 9753d7381c

View file

@ -430,7 +430,7 @@ resolve_jump(struct ir3_instruction *instr)
else
next_block = 1;
if ((!target) || (target->ip == (instr->ip + next_block))) {
if (target->ip == (instr->ip + next_block)) {
list_delinit(&instr->node);
return true;
} else {