etnaviv: remove dead code
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 29 Nov 2019 14:15:27 +0000 (15:15 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 29 Nov 2019 15:22:40 +0000 (16:22 +0100)
commit1be220833c18139ff9f3c7c9237deeb726ba5c55
tree2b80a34de224d010b89c869e0cdaebc49d086edc
parent1dfe6a3e9ae461d81c96da256a0017f02252f1ae
etnaviv: remove dead code

ptiled is always NULL so the if statement is useless.

CoverityID: 1415572
Fixes: b9627765303 ("etnaviv: rework compatible render base")
CC: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_resource.c