]> Sergey Matveev's repositories - btrtrc.git/blobdiff - torrent.go
Merge all our global consts and vars into global.go
[btrtrc.git] / torrent.go
index a54a9a12b5bf76e3f4303c1c869b72f26bbb1c5e..80ec38316ae18517397ba1add81e6c86cf693ea8 100644 (file)
@@ -2,7 +2,6 @@ package torrent
 
 import (
        "container/heap"
-       "expvar"
        "fmt"
        "io"
        "log"
@@ -95,12 +94,6 @@ type Torrent struct {
        connPieceInclinationPool sync.Pool
 }
 
-var (
-       pieceInclinationsReused = expvar.NewInt("pieceInclinationsReused")
-       pieceInclinationsNew    = expvar.NewInt("pieceInclinationsNew")
-       pieceInclinationsPut    = expvar.NewInt("pieceInclinationsPut")
-)
-
 func (t *Torrent) setDisplayName(dn string) {
        t.displayName = dn
 }