summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/ata.c3
-rw-r--r--firmware/drivers/ata_mmc.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 94a785c..549a7bf 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -482,9 +482,6 @@ int ata_write_sectors(IF_MV2(int drive,)
int ret = 0;
long spinup_start;
- if (start == 0)
- panicf("Writing on sector 0\n");
-
#ifndef MAX_PHYS_SECTOR_SIZE
#ifdef HAVE_MULTIVOLUME
(void)drive; /* unused for now */
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index 6d69501..fdd0912 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,)
int drive = current_card;
#endif
- if (start == 0)
- panicf("Writing on sector 0\n");
-
c_addr = start * SECTOR_SIZE;
c_end_addr = c_addr + count * SECTOR_SIZE;