From e53a1e0f94f140339e10944e17cf4c273ed8ac62 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 13 Jun 2011 00:02:18 +0000 Subject: [PATCH] Removed unnecessary (and broken) hack. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42136 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/storage/disk_device/PartitionDelegate.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/kits/storage/disk_device/PartitionDelegate.cpp b/src/kits/storage/disk_device/PartitionDelegate.cpp index b2c7420367..a553585068 100644 --- a/src/kits/storage/disk_device/PartitionDelegate.cpp +++ b/src/kits/storage/disk_device/PartitionDelegate.cpp @@ -400,12 +400,6 @@ BPartition::Delegate::IsSubSystem(Delegate* child, bool 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 DiskSystemAddOnManager* manager = DiskSystemAddOnManager::Default(); BDiskSystemAddOn* addOn = manager->GetAddOn(diskSystem);