diff --git a/reactos/drivers/filesystems/fastfat/fsctl.c b/reactos/drivers/filesystems/fastfat/fsctl.c index 41d9a8db0a6..873b0fc396b 100644 --- a/reactos/drivers/filesystems/fastfat/fsctl.c +++ b/reactos/drivers/filesystems/fastfat/fsctl.c @@ -121,16 +121,6 @@ VfatHasFileSystem( *RecognizedFS = TRUE; } } - else if (DiskGeometry.MediaType == Unknown) - { - /* - * Floppy disk driver can return Unknown as media type if it - * doesn't know yet what floppy in the drive really is. This is - * perfectly correct to do under Windows. - */ - *RecognizedFS = TRUE; - DiskGeometry.BytesPerSector = 512; - } else { *RecognizedFS = TRUE; diff --git a/reactos/drivers/filesystems/ntfs/fsctl.c b/reactos/drivers/filesystems/ntfs/fsctl.c index 77fbae3b2d7..5550df23b1d 100644 --- a/reactos/drivers/filesystems/ntfs/fsctl.c +++ b/reactos/drivers/filesystems/ntfs/fsctl.c @@ -89,10 +89,6 @@ NtfsHasFileSystem(PDEVICE_OBJECT DeviceToMount) return STATUS_UNRECOGNIZED_VOLUME; } } - else if (DiskGeometry.MediaType == Unknown) - { - DiskGeometry.BytesPerSector = 512; - } DPRINT1("BytesPerSector: %lu\n", DiskGeometry.BytesPerSector); BootSector = ExAllocatePoolWithTag(NonPagedPool,