Removed unnecessary (and broken) hack.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2011-06-13 00:02:18 +00:00
parent 6436e4676f
commit e53a1e0f94

View File

@ -400,12 +400,6 @@ BPartition::Delegate::IsSubSystem(Delegate* child,
bool bool
BPartition::Delegate::CanInitialize(const char* diskSystem) const BPartition::Delegate::CanInitialize(const char* diskSystem) const
{ {
// HACK TO HELP BLANK PARTITION'S BECOME INITIALIZED.
if (diskSystem == NULL)
return true;
if (strlen(diskSystem) < 1)
return true;
// get the disk system add-on // get the disk system add-on
DiskSystemAddOnManager* manager = DiskSystemAddOnManager::Default(); DiskSystemAddOnManager* manager = DiskSystemAddOnManager::Default();
BDiskSystemAddOn* addOn = manager->GetAddOn(diskSystem); BDiskSystemAddOn* addOn = manager->GetAddOn(diskSystem);