diff --git a/src/compress/flate/deflate.go b/src/compress/flate/deflate.go index 550032176d76ca..79587bbb7e186a 100644 --- a/src/compress/flate/deflate.go +++ b/src/compress/flate/deflate.go @@ -387,9 +387,6 @@ func (d *compressor) deflate() { } d.maxInsertIndex = d.windowEnd - (minMatchLength - 1) - if d.index < d.maxInsertIndex { - d.hash = hash4(d.window[d.index : d.index+minMatchLength]) - } Loop: for {