Author: sparky Date: Sat Oct 8 02:18:35 2005 New Revision: 6431 Modified: ppcrcd/yaboot/gunzip.c Log: - cleanup
Modified: ppcrcd/yaboot/gunzip.c ============================================================================== --- ppcrcd/yaboot/gunzip.c (original) +++ ppcrcd/yaboot/gunzip.c Sat Oct 8 02:18:35 2005 @@ -315,7 +315,6 @@ gzip_filepos = 0; -// prom_printf("File is gziped\n"); return 0; } @@ -404,8 +403,6 @@ #define BMAX 16 /* maximum bit length of any code (16 for explode) */ #define N_MAX 288 /* maximum number of codes in any set */ -//static unsigned hufts; /* track memory usage */ - /* Macros for inflate() bit peeking and grabbing. The usage is: @@ -640,7 +637,6 @@ return 3; /* not enough memory */ } -// hufts += z + 1; /* track memory usage */ *t = q + 1; /* link to list for huft_free() */ *(t = &(q->v.t)) = (struct huft *) NULL; u[h] = ++q; /* table starts after link */ @@ -1050,8 +1046,6 @@ register ulg b; /* bit buffer */ register unsigned k; /* number of bits in bit buffer */ -// hufts = 0; - /* make local bit buffer */ b = bb; k = bk; @@ -1196,12 +1190,6 @@ len -= size; gzip_filepos += size; ret += size; - - -/* if (last_block) { - reset_gzmalloc(); - break; - }*/ } return ret; _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit