snappy-go: Remove equal4

This unexported function is not used anymore after the last CL
was submitted.

R=nigeltao, dchest, dave
CC=golang-dev
https://codereview.appspot.com/7377044

Committer: Nigel Tao <nigeltao@golang.org>
diff --git a/snappy/encode.go b/snappy/encode.go
index 2b87383..b2371db 100644
--- a/snappy/encode.go
+++ b/snappy/encode.go
@@ -11,14 +11,6 @@
 // We limit how far copy back-references can go, the same as the C++ code.
 const maxOffset = 1 << 15
 
-// equal4 returns whether b[i:i+4] equals b[j:j+4].
-func equal4(b []byte, i, j int) bool {
-	return b[i] == b[j] &&
-		b[i+1] == b[j+1] &&
-		b[i+2] == b[j+2] &&
-		b[i+3] == b[j+3]
-}
-
 // emitLiteral writes a literal chunk and returns the number of bytes written.
 func emitLiteral(dst, lit []byte) int {
 	i, n := 0, uint(len(lit)-1)