diff --git a/router/utils.go b/router/utils.go index 9cf4f1bd..a57d9e8b 100644 --- a/router/utils.go +++ b/router/utils.go @@ -5,7 +5,6 @@ import ( "crypto/rand" "encoding/gob" "fmt" - "hash/fnv" "log" "net" ) @@ -74,12 +73,6 @@ func randUint64() (r uint64) { return } -func hash(s string) uint32 { - h := fnv.New32a() - h.Write([]byte(s)) - return h.Sum32() -} - func GobEncode(items ...interface{}) []byte { buf := new(bytes.Buffer) enc := gob.NewEncoder(buf)