From 3ba7b814c7edd2f1effc76a92e63a17e1b81f76e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 4 May 2005 05:44:50 +0000 Subject: [PATCH] remove old whitelisting code --- .../MemoryCardDriverThreaded_Linux.cpp | 61 ++----------------- 1 file changed, 4 insertions(+), 57 deletions(-) diff --git a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp index 4a3fbc5368..33f19e36a7 100644 --- a/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp +++ b/stepmania/src/arch/MemoryCard/MemoryCardDriverThreaded_Linux.cpp @@ -254,58 +254,6 @@ bool MemoryCardDriverThreaded_Linux::DoOneUpdate( bool bMount, vectorTrace( "idVendor 0x%04X, idDevice 0x%04X, Vendor '%s', Product '%s' is %sallowed.", idVendor, idProduct, sVendor.c_str(), sProduct.c_str(), bAllowed?"":"not " ); - return bAllowed; -} - void GetNewStorageDevices( vector& vDevicesOut ) { LOG->Trace( "GetNewStorageDevices" ); @@ -409,11 +357,10 @@ void GetNewStorageDevices( vector& vDevicesOut ) TrimRight( usbd.sVendor ); } - bool bAllowed = IsDeviceAllowed( usbd.idVendor, usbd.idProduct, usbd.sVendor, usbd.sProduct ); - LOG->Trace( "iBus: %d, iLevel: %d, iPort: %d, sSerial = %s (%s)", - usbd.iBus, usbd.iLevel, usbd.iPort, usbd.sSerial.c_str(), bAllowed? "allowed":"disallowed" ); - if( bAllowed ) - vDevicesOut.push_back( usbd ); + LOG->Trace( "iBus: %d, iLevel: %d, iPort: %d, idVendor: 0x%04X, idDevice: 0x%04X, Vendor: '%s', Product: '%s', sSerial: %s", + usbd.iBus, usbd.iLevel, usbd.iPort, usbd.idVendor, usbd.idProduct, usbd.sVendor.c_str(), + usbd.sProduct.c_str(), usbd.sSerial.c_str() ); + vDevicesOut.push_back( usbd ); } }