diff options
author | Eric Engestrom <[email protected]> | 2016-08-15 15:51:20 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-08-24 11:17:05 +0100 |
commit | 253274351f550c428ca4f4f21d9b176579f002ee (patch) | |
tree | d1c04209b8c37a51f0336854b81c431dd6d2b9e0 /src/gallium/state_trackers/xvmc | |
parent | 07fe2d565bb117e8ae0a96b084633cc5a18b029d (diff) |
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 <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xvmc')
0 files changed, 0 insertions, 0 deletions