mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
(trunk libT) remove dead code.
This commit is contained in:
parent
9194325c95
commit
d1b282b647
1 changed files with 0 additions and 14 deletions
|
@ -1574,20 +1574,6 @@ readBtMessage( tr_peermsgs * msgs, struct evbuffer * inbuf, size_t inlen )
|
||||||
return READ_NOW;
|
return READ_NOW;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void
|
|
||||||
decrementDownloadedCount( tr_peermsgs * msgs, uint32_t byteCount )
|
|
||||||
{
|
|
||||||
tr_torrent * tor = msgs->torrent;
|
|
||||||
|
|
||||||
tor->downloadedCur -= MIN( tor->downloadedCur, byteCount );
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
clientGotUnwantedBlock( tr_peermsgs * msgs, const struct peer_request * req )
|
|
||||||
{
|
|
||||||
decrementDownloadedCount( msgs, req->length );
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
addPeerToBlamefield( tr_peermsgs * msgs, uint32_t index )
|
addPeerToBlamefield( tr_peermsgs * msgs, uint32_t index )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue