From 704205c5f7583527f9c9398261f1206c59f1b812 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 12 Jan 2016 09:33:14 -0800 Subject: Dead code removal. --- node/Switch.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'node/Switch.cpp') diff --git a/node/Switch.cpp b/node/Switch.cpp index d7d29f93..c17b8d1b 100644 --- a/node/Switch.cpp +++ b/node/Switch.cpp @@ -451,12 +451,6 @@ void Switch::requestWhois(const Address &addr) _sendWhoisRequest(addr,(const Address *)0,0); } -void Switch::cancelWhoisRequest(const Address &addr) -{ - Mutex::Lock _l(_outstandingWhoisRequests_m); - _outstandingWhoisRequests.erase(addr); -} - void Switch::doAnythingWaitingForPeer(const SharedPtr &peer) { { // cancel pending WHOIS since we now know this peer -- cgit v1.2.3