Revert "Lock m_mtxPinginfo when checking if a host is dead"

This reverts commit 04348a95e0.
This commit is contained in:
Ai Lin Chia
2017-05-22 21:41:38 +02:00
parent dc1bb8c2e0
commit a7355cc96c

@ -1270,7 +1270,6 @@ bool Hostdb::isDead(int32_t hostId) const {
}
bool Hostdb::isDead(const Host *h) const {
ScopedLock sl(m_mtxPinginfo);
if(h->m_retired)
return true; // retired means "don't use it", so it is essentially dead
if(m_myHost == h)