diff --git a/src/main/java/org/jboss/netty/util/internal/jzlib/Deflate.java b/src/main/java/org/jboss/netty/util/internal/jzlib/Deflate.java index d71ba40f8a..2d97276a61 100644 --- a/src/main/java/org/jboss/netty/util/internal/jzlib/Deflate.java +++ b/src/main/java/org/jboss/netty/util/internal/jzlib/Deflate.java @@ -253,12 +253,6 @@ final class Deflate { private void lm_init() { window_size = 2 * w_size; - // TODO No need to clear the head if called from deflateInit2 - head[hash_size - 1] = 0; - for (int i = 0; i < hash_size - 1; i ++) { - head[i] = 0; - } - // Set the default configuration parameters: max_lazy_match = Deflate.config_table[level].max_lazy; good_match = Deflate.config_table[level].good_length;