diff options
author | Eric Engestrom <[email protected]> | 2016-08-15 15:51:21 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-08-24 11:17:05 +0100 |
commit | 8af1b540c52fbc9fe34f1b2fef1f728b205ab630 (patch) | |
tree | d95d4fbc474a92f3aec159440cb303adbc40edd0 /src/gallium/state_trackers/xvmc | |
parent | 253274351f550c428ca4f4f21d9b176579f002ee (diff) |
i915: remove unnecessary `if`
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 <[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