cosmetic: remove some more dead code

This commit is contained in:
Matthias Radestock committed 2015-05-28 15:24:51 +01:00
1 parent 9c71f7f1e9
commit 374b4c523c
1 file changed
-7
-7
View File
@@ -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)