From 4fbb098daa349a663015426d1210f1b59d0478c4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 23 Oct 2014 16:46:09 -0700 Subject: Testnet work... getting there! --- testnet/TestEthernetTapFactory.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'testnet/TestEthernetTapFactory.cpp') diff --git a/testnet/TestEthernetTapFactory.cpp b/testnet/TestEthernetTapFactory.cpp index c4a8a988..836f586e 100644 --- a/testnet/TestEthernetTapFactory.cpp +++ b/testnet/TestEthernetTapFactory.cpp @@ -53,10 +53,6 @@ EthernetTap *TestEthernetTapFactory::open( Mutex::Lock _l(_taps_m); _taps.insert(tap); } - { - Mutex::Lock _l(_tapsByDevice_m); - _tapsByDevice[tap->deviceName()] = tap; - } { Mutex::Lock _l(_tapsByMac_m); _tapsByMac[mac] = tap; @@ -73,10 +69,6 @@ void TestEthernetTapFactory::close(EthernetTap *tap,bool destroyPersistentDevice Mutex::Lock _l(_taps_m); _taps.erase(tapp); } - { - Mutex::Lock _l(_tapsByDevice_m); - _tapsByDevice.erase(tapp->deviceName()); - } { Mutex::Lock _l(_tapsByMac_m); _tapsByMac.erase(tapp->mac()); -- cgit v1.2.3