freedreno/a2xx: Fix redundant if statement
authorKristian H. Kristensen <hoegsberg@chromium.org>
Wed, 10 Apr 2019 20:08:00 +0000 (13:08 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Thu, 18 Apr 2019 18:46:13 +0000 (11:46 -0700)
commitc34b285b38400ca1aaa7d00410bc99d393c79e2f
tree46f63ef25833156c471262bc625e330281228b62
parent18ce6ac6328db11bc68eb5689a28a43f7479cf7f
freedreno/a2xx: Fix redundant if statement

We test the condition, declare a few variables, then test the exact
same condition again. Let's not do that.

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
src/gallium/drivers/freedreno/a2xx/fd2_draw.c