i965: remove unnecessary `if`
authorEric Engestrom <eric.engestrom@imgtec.com>
Mon, 15 Aug 2016 14:51:20 +0000 (15:51 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 24 Aug 2016 10:17:05 +0000 (11:17 +0100)
commit253274351f550c428ca4f4f21d9b176579f002ee
treed1c04209b8c37a51f0336854b81c431dd6d2b9e0
parent07fe2d565bb117e8ae0a96b084633cc5a18b029d
i965: remove unnecessary `if`

if (x) return true; else return false;
can be simplified as:
return x;
since both `x` are already boolean expressions.

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/dri/i965/intel_screen.c