patch-2.3.36 linux/fs/cramfs/inflate/infcodes.c

Next file: linux/fs/cramfs/inflate/inffast.c
Previous file: linux/fs/cramfs/inflate/infblock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.35/linux/fs/cramfs/inflate/infcodes.c linux/fs/cramfs/inflate/infcodes.c
@@ -72,7 +72,6 @@
     c->dbits = (Byte)bd;
     c->ltree = tl;
     c->dtree = td;
-    Tracev((stderr, "inflate:       codes new\n"));
   }
   return c;
 }
@@ -127,9 +126,6 @@
       if (e == 0)               /* literal */
       {
         c->sub.lit = t->base;
-        Tracevv((stderr, t->base >= 0x20 && t->base < 0x7f ?
-                 "inflate:         literal '%c'\n" :
-                 "inflate:         literal 0x%02x\n", t->base));
         c->mode = LIT;
         break;
       }
@@ -148,7 +144,6 @@
       }
       if (e & 32)               /* end of block */
       {
-        Tracevv((stderr, "inflate:         end of block\n"));
         c->mode = WASH;
         break;
       }
@@ -163,7 +158,6 @@
       DUMPBITS(j)
       c->sub.code.need = c->dbits;
       c->sub.code.tree = c->dtree;
-      Tracevv((stderr, "inflate:         length %u\n", c->len));
       c->mode = DIST;
     case DIST:          /* i: get distance next */
       j = c->sub.code.need;
@@ -193,7 +187,6 @@
       NEEDBITS(j)
       c->sub.copy.dist += (uInt)b & inflate_mask[j];
       DUMPBITS(j)
-      Tracevv((stderr, "inflate:         distance %u\n", c->sub.copy.dist));
       c->mode = COPY;
     case COPY:          /* o: copying bytes in window, waiting for space */
 #ifndef __TURBOC__ /* Turbo C bug for following expression */
@@ -223,7 +216,6 @@
     case WASH:          /* o: got eob, possibly more output */
       if (k > 7)        /* return unused byte, if any */
       {
-        Assert(k < 16, "inflate_codes grabbed too many bytes")
         k -= 8;
         n++;
         p--;            /* can always return one */
@@ -252,5 +244,4 @@
 inflate_codes_statef *c;
 z_streamp z;
 {
-  Tracev((stderr, "inflate:       codes free\n"));
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)