]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Remove obsolete private type 'pieceState'
authorMatt Joiner <anacrolix@gmail.com>
Mon, 4 Nov 2013 13:05:44 +0000 (00:05 +1100)
committerMatt Joiner <anacrolix@gmail.com>
Mon, 4 Nov 2013 13:05:44 +0000 (00:05 +1100)
client.go

index b7d4e09f977f831d8849594b7b21f2057fc863e4..1c22acc15ec8096dfdd3d736f60fdcb67e6ebba7 100644 (file)
--- a/client.go
+++ b/client.go
@@ -45,8 +45,6 @@ func BytesInfoHash(b []byte) (ih InfoHash) {
        return
 }
 
-type pieceState uint8
-
 type piece struct {
        Hash              pieceSum
        PendingChunkSpecs map[ChunkSpec]struct{}