client.go | 2 -- torrent.go | 1 - diff --git a/client.go b/client.go index f4e6bbb0346c3fa366d23e89b170dd6296494a41..f5ecac7cfb45282828ee6465a4ba5b82794e6a66 100644 --- a/client.go +++ b/client.go @@ -2400,7 +2400,6 @@ } return true } - // Returns true when all torrents are completely downloaded and false if the // client is stopped before that. func (me *Client) WaitAll() bool { @@ -2414,7 +2413,6 @@ me.event.Wait() } return true } - func (me *Client) fillRequests(t *torrent, c *connection) { if c.Interested { diff --git a/torrent.go b/torrent.go index 74e49831b35866b11c5d282f22c36093823d22b7..fd213d5bc16c215b79482b60ce746a37897d43db 100644 --- a/torrent.go +++ b/torrent.go @@ -515,7 +515,6 @@ func (t *torrent) numPieces() int { return t.Info.NumPieces() } - func (t *torrent) numPiecesCompleted() (num int) { for i := range iter.N(t.Info.NumPieces()) { if t.pieceComplete(i) {