i965: Drop a useless ret == 0 check.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Aug 2017 07:47:03 +0000 (00:47 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 14 Sep 2017 23:17:36 +0000 (16:17 -0700)
commit3b812e62a19859c9cb28455ac4195fa1365ce9e1
tree66f916497704442661c513c767233406462a3a7a
parent717e7539124dc459276385a02847b06ea1989973
i965: Drop a useless ret == 0 check.

Prior to the previous patch, we would pwrite the batchbuffer contents,
and wanted to skip the execbuffer if that failed.  Now that we memcpy,
we don't set ret != 0 on failure anymore, so it will always be 0.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i965/intel_batchbuffer.c