From 374b4c523cabec12f7e42df10e8c9d5d27277545 Mon Sep 17 00:00:00 2001 From: Matthias Radestock Date: Thu, 28 May 2015 15:24:51 +0100 Subject: [PATCH] cosmetic: remove some more dead code --- router/utils.go | 7 ------- 1 file changed, 7 deletions(-) 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)