remove a couple of unnecessary torrentIsLocked() assertions for #5168

This commit is contained in:
Jordan Lee 2012-12-12 20:57:13 +00:00
parent 079c78981c
commit 399c3233b7
2 changed files with 0 additions and 2 deletions

View File

@ -1585,7 +1585,6 @@ tr_announcerStats (const tr_torrent * torrent, int * setmeTrackerCount)
const time_t now = tr_time ();
assert (tr_isTorrent (torrent));
assert (tr_torrentIsLocked (torrent));
tt = torrent->tiers;

View File

@ -359,7 +359,6 @@ getExistingAtom (const Torrent * t,
const tr_address * addr)
{
Torrent * tt = (Torrent*)t;
assert (torrentIsLocked (t));
return tr_ptrArrayFindSorted (&tt->pool, addr, comparePeerAtomToAddress);
}