summaryrefslogtreecommitdiff
path: root/libparted/labels/mac.c
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2020-11-20 13:26:31 -0800
committerBrian C. Lane <bcl@redhat.com>2020-11-20 14:00:58 -0800
commit945b13aed7e9762e00bda1b54e2c18eb3373a31d (patch)
tree86f3d915beec95dde1c332c0d0273ba2aef6adc9 /libparted/labels/mac.c
parent0d5f047b2855f3d39fa3afe6ec2a6129d18ddf33 (diff)
downloadparted-945b13aed7e9762e00bda1b54e2c18eb3373a31d.tar.gz
libparted: Remove disabled code
Diffstat (limited to 'libparted/labels/mac.c')
-rw-r--r--libparted/labels/mac.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libparted/labels/mac.c b/libparted/labels/mac.c
index 8980885..af9f4c3 100644
--- a/libparted/labels/mac.c
+++ b/libparted/labels/mac.c
@@ -560,20 +560,6 @@ _rawpart_analyse (MacRawPartition* raw_part, PedDisk* disk, int num)
mac_part_data->data_region_length
= PED_BE32_TO_CPU (raw_part->data_count);
- /* boot region - we have no idea what this is for, but Mac OSX
- * seems to put garbage here, and doesn't pay any attention to
- * it afterwards. [clausen, dan burcaw]
- */
-#if 0
- if (raw_part->boot_start) {
- ped_exception_throw (
- PED_EXCEPTION_ERROR,
- PED_EXCEPTION_CANCEL,
- _("The boot region doesn't start at the start "
- "of the partition."));
- goto error_destroy_part;
- }
-#endif
mac_part_data->boot_region_length
= PED_BE32_TO_CPU (raw_part->boot_count);