diff --git a/reactos/base/setup/usetup/bootsup.c b/reactos/base/setup/usetup/bootsup.c index 1d970a6147a..8ed151c6a79 100644 --- a/reactos/base/setup/usetup/bootsup.c +++ b/reactos/base/setup/usetup/bootsup.c @@ -1582,8 +1582,6 @@ InstallFat16BootCodeToDisk( FIELD_OFFSET(FAT_BOOTSECTOR, BootCodeAndData) - FIELD_OFFSET(FAT_BOOTSECTOR, OemName)); - NewBootSector->HiddenSectors = PartitionList->CurrentDisk->SectorsPerTrack; - /* Free the original boot sector */ RtlFreeHeap(ProcessHeap, 0, OrigBootSector); @@ -1740,8 +1738,6 @@ InstallFat32BootCodeToDisk( FIELD_OFFSET(FAT32_BOOTSECTOR, BootCodeAndData) - FIELD_OFFSET(FAT32_BOOTSECTOR, OemName)); - NewBootSector->HiddenSectors = PartitionList->CurrentDisk->SectorsPerTrack; - /* Get the location of the backup boot sector */ BackupBootSector = OrigBootSector->BackupBootSector;