net: remove SetMaxOutboundTarget

This has been unused since f3552da813.
This commit is contained in:
fanquake
2020-10-24 16:24:07 +08:00
parent ade38b6ee8
commit 2f3f1aec1f
3 changed files with 4 additions and 15 deletions

View File

@@ -2859,12 +2859,6 @@ void CConnman::RecordBytesSent(uint64_t bytes)
nMaxOutboundTotalBytesSentInCycle += bytes;
}
void CConnman::SetMaxOutboundTarget(uint64_t limit)
{
LOCK(cs_totalBytesSent);
nMaxOutboundLimit = limit;
}
uint64_t CConnman::GetMaxOutboundTarget()
{
LOCK(cs_totalBytesSent);