diff options
-rw-r--r-- | firmware/drivers/ata.c | 3 | ||||
-rw-r--r-- | firmware/drivers/ata_mmc.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 94a785c46a..549a7bf920 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -482,9 +482,6 @@ int ata_write_sectors(IF_MV2(int drive,) | |||
482 | int ret = 0; | 482 | int ret = 0; |
483 | long spinup_start; | 483 | long spinup_start; |
484 | 484 | ||
485 | if (start == 0) | ||
486 | panicf("Writing on sector 0\n"); | ||
487 | |||
488 | #ifndef MAX_PHYS_SECTOR_SIZE | 485 | #ifndef MAX_PHYS_SECTOR_SIZE |
489 | #ifdef HAVE_MULTIVOLUME | 486 | #ifdef HAVE_MULTIVOLUME |
490 | (void)drive; /* unused for now */ | 487 | (void)drive; /* unused for now */ |
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c index 6d69501deb..fdd091248f 100644 --- a/firmware/drivers/ata_mmc.c +++ b/firmware/drivers/ata_mmc.c | |||
@@ -802,9 +802,6 @@ int ata_write_sectors(IF_MV2(int drive,) | |||
802 | int drive = current_card; | 802 | int drive = current_card; |
803 | #endif | 803 | #endif |
804 | 804 | ||
805 | if (start == 0) | ||
806 | panicf("Writing on sector 0\n"); | ||
807 | |||
808 | c_addr = start * SECTOR_SIZE; | 805 | c_addr = start * SECTOR_SIZE; |
809 | c_end_addr = c_addr + count * SECTOR_SIZE; | 806 | c_end_addr = c_addr + count * SECTOR_SIZE; |
810 | 807 | ||