diff options
author | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-03-09 12:23:22 -0800 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2016-03-10 10:41:52 -0800 |
commit | b0e423cc4f0b19a266f3ecaf379c0a25bf332e04 (patch) | |
tree | b66a5d6d3c0f57ace6ae748a5c369858bff420f6 /src/intel/isl | |
parent | 7fbbad01706f08645e832e6dd2f5eeaf1e3c6894 (diff) |
isl: Remove redundant check
The green channel was checked twice.
Diffstat (limited to 'src/intel/isl')
-rw-r--r-- | src/intel/isl/isl_format.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/isl/isl_format.c b/src/intel/isl/isl_format.c index 0fe6e9b83ab..7842197d861 100644 --- a/src/intel/isl/isl_format.c +++ b/src/intel/isl/isl_format.c @@ -36,8 +36,7 @@ isl_format_has_sint_channel(enum isl_format fmt) fmtl->channels.a.type == ISL_SINT || fmtl->channels.l.type == ISL_SINT || fmtl->channels.i.type == ISL_SINT || - fmtl->channels.p.type == ISL_SINT || - fmtl->channels.g.type == ISL_SINT; + fmtl->channels.p.type == ISL_SINT; } enum isl_format |