On Mon, Aug 15, 2016 at 03:51:21PM +0100, Eric Engestrom wrote:
>       if (x) return true; else return false;
> can be simplified as:
>       return x;
> since `x` is already a boolean expression.
> 
> Signed-off-by: Eric Engestrom <eric.engest...@imgtec.com>

Both Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to