From: Jason Ekstrand Date: Wed, 9 Mar 2016 20:23:22 +0000 (-0800) Subject: isl: Remove redundant check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b0e423cc4f0b19a266f3ecaf379c0a25bf332e04;p=mesa.git isl: Remove redundant check The green channel was checked twice. --- 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