summaryrefslogtreecommitdiffstats
path: root/kernel/lib/zlib_deflate/defutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/zlib_deflate/defutil.h')
-rw-r--r--kernel/lib/zlib_deflate/defutil.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/kernel/lib/zlib_deflate/defutil.h b/kernel/lib/zlib_deflate/defutil.h
index b640b6402..a8c370897 100644
--- a/kernel/lib/zlib_deflate/defutil.h
+++ b/kernel/lib/zlib_deflate/defutil.h
@@ -293,22 +293,6 @@ void zlib_tr_stored_type_only (deflate_state *);
}
/* ===========================================================================
- * Reverse the first len bits of a code, using straightforward code (a faster
- * method would use a table)
- * IN assertion: 1 <= len <= 15
- */
-static inline unsigned bi_reverse(unsigned code, /* the value to invert */
- int len) /* its bit length */
-{
- register unsigned res = 0;
- do {
- res |= code & 1;
- code >>= 1, res <<= 1;
- } while (--len > 0);
- return res >> 1;
-}
-
-/* ===========================================================================
* Flush the bit buffer, keeping at most 7 bits in it.
*/
static inline void bi_flush(deflate_state *s)