From b0e423cc4f0b19a266f3ecaf379c0a25bf332e04 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 9 Mar 2016 12:23:22 -0800 Subject: isl: Remove redundant check The green channel was checked twice. --- src/intel/isl/isl_format.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/intel/isl/isl_format.c') 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 -- cgit v1.2.3