diff --git a/connection.go b/connection.go index bf06a975..b68bed7f 100644 --- a/connection.go +++ b/connection.go @@ -1431,7 +1431,6 @@ func (c *connection) sendChunk(r request, msg func(pp.Message) bool) (more bool, Begin: r.Begin, Piece: b, }) - uploadChunksPosted.Add(1) c.lastChunkSent = time.Now() return } diff --git a/global.go b/global.go index 9855f8ac..cab31208 100644 --- a/global.go +++ b/global.go @@ -31,8 +31,6 @@ var ( peersAddedBySource = expvar.NewMap("peersAddedBySource") - uploadChunksPosted = expvar.NewInt("uploadChunksPosted") - pieceHashedCorrect = expvar.NewInt("pieceHashedCorrect") pieceHashedNotCorrect = expvar.NewInt("pieceHashedNotCorrect")