Remove MemoryCardDriver::Flush. Flush in Unmount instead.

This commit is contained in:
Glenn Maynard
2005-12-21 05:58:01 +00:00
parent 8ceb3e7421
commit bdf5a3b924
7 changed files with 2 additions and 23 deletions
@@ -308,16 +308,6 @@ void MemoryCardDriverThreaded_Linux::Unmount( UsbStorageDevice* pDevice )
ExecuteCommand( sCommand );
}
void MemoryCardDriverThreaded_Linux::Flush( UsbStorageDevice* pDevice )
{
if( pDevice->sDevice.empty() )
return;
// "sync" will only flush all file systems at the same time. -Chris
// That's OK.
ExecuteCommand( "sync" );
}
/*
* (c) 2003-2005 Chris Danford, Glenn Maynard
* All rights reserved.