838bd75e5d5b859f5b81102933273b7c7e7e2114
markd
  Sun Aug 16 10:29:38 2020 -0700
removed redundent function

diff --git src/hg/lib/genePred.c src/hg/lib/genePred.c
index 8127e9a..0e0ee50 100644
--- src/hg/lib/genePred.c
+++ src/hg/lib/genePred.c
@@ -1816,43 +1816,30 @@
 reverseUnsignedRange(&gp->cdsStart, &gp->cdsEnd, chromSize);
 for (iExon = 0; iExon < gp->exonCount; iExon++)
     reverseUnsignedRange(&gp->exonStarts[iExon], &gp->exonEnds[iExon], chromSize);
 reverseUnsigned(gp->exonStarts, gp->exonCount);
 reverseUnsigned(gp->exonEnds, gp->exonCount);
 if (gp->optFields & genePredCdsStatFld)
     {
     enum cdsStatus hold =  gp->cdsStartStat;
     gp->cdsStartStat = gp->cdsEndStat;
     gp->cdsEndStat = hold;
     }
 if (gp->optFields & genePredExonFramesFld)
     reverseInts(gp->exonFrames, gp->exonCount);
 }
 
-int genePredCdsSize(struct genePred *gp)
-/* compute the number of bases of CDS */
-{
-int iExon, start, end, cdsBases = 0;
-
-for (iExon = 0; iExon < gp->exonCount; iExon++)
-    {
-    if (genePredCdsExon(gp, iExon, &start, &end))
-        cdsBases += (end - start);
-    }
-return cdsBases;
-}
-
 struct genePred *genePredNew(char *name, char *chrom, char strand,
                              unsigned txStart, unsigned txEnd,
                              unsigned cdsStart, unsigned cdsEnd,
                              unsigned optFields, unsigned exonSpace)
 /* create a new gene with space for the specified number of exons allocated.
  * genePredGrow maybe used to expand this space if needed. */
 {
 struct genePred *gp;
 AllocVar(gp);
 assert(exonSpace > 0);
 
 gp->name = cloneString(name);
 gp->chrom  = cloneString(chrom);
 gp->strand[0] = strand;
 gp->txStart = txStart;