diff --git a/torrent.go b/torrent.go index 1db0d401..104ed962 100644 --- a/torrent.go +++ b/torrent.go @@ -1379,13 +1379,6 @@ func (t *Torrent) decPeerPieceAvailability(p *Peer) { }) } -func (t *Torrent) numActivePeers() (num int) { - t.iterPeers(func(*Peer) { - num++ - }) - return -} - func (t *Torrent) assertPendingRequests() { if !check { return