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);