summaryrefslogtreecommitdiff
path: root/libgo/go/compress/flate/token.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/compress/flate/token.go')
-rw-r--r--libgo/go/compress/flate/token.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/libgo/go/compress/flate/token.go b/libgo/go/compress/flate/token.go
index c485939d345..ae01391f9cf 100644
--- a/libgo/go/compress/flate/token.go
+++ b/libgo/go/compress/flate/token.go
@@ -75,9 +75,6 @@ func matchToken(xlength uint32, xoffset uint32) token {
return token(matchType + xlength<<lengthShift + xoffset)
}
-// Returns the type of a token
-func (t token) typ() uint32 { return uint32(t) & typeMask }
-
// Returns the literal of a literal token
func (t token) literal() uint32 { return uint32(t - literalType) }