aboutsummaryrefslogtreecommitdiff
path: root/drivers/block/ata_piix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/ata_piix.c')
-rw-r--r--drivers/block/ata_piix.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/ata_piix.c b/drivers/block/ata_piix.c
index c81d11a6ce3..1c3ab8a7333 100644
--- a/drivers/block/ata_piix.c
+++ b/drivers/block/ata_piix.c
@@ -204,9 +204,6 @@ init_sata (int dev)
dev_print (&sata_dev_desc[devno]);
/* initialize partition type */
init_part (&sata_dev_desc[devno]);
- if (sata_curr_device < 0)
- sata_curr_device =
- i * CONFIG_SYS_SATA_DEVS_PER_BUS + j;
}
}
}