From aa697794ccc64584a0950490fd45523c81f303a1 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Fri, 25 Nov 2016 17:24:29 +1100 Subject: [PATCH] Remove unused function --- client.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/client.go b/client.go index c457bef6..94c02f02 100644 --- a/client.go +++ b/client.go @@ -45,16 +45,6 @@ func (cl *Client) queuePieceCheck(t *Torrent, pieceIndex int) { go t.verifyPiece(pieceIndex) } -// Queue a piece check if one isn't already queued, and the piece has never -// been checked before. -func (cl *Client) queueFirstHash(t *Torrent, piece int) { - p := &t.pieces[piece] - if p.EverHashed || p.Hashing || p.QueuedForHash || t.pieceComplete(piece) { - return - } - cl.queuePieceCheck(t, piece) -} - // Clients contain zero or more Torrents. A Client manages a blocklist, the // TCP/UDP protocol ports, and DHT as desired. type Client struct { -- 2.50.0