aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/piix.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pci/piix.c')
-rw-r--r--drivers/ide/pci/piix.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/pci/piix.c b/drivers/ide/pci/piix.c
index 4b397d641848..4dd1b6d0acb5 100644
--- a/drivers/ide/pci/piix.c
+++ b/drivers/ide/pci/piix.c
@@ -264,8 +264,6 @@ static void piix_set_dma_mode(ide_drive_t *drive, const u8 speed)
264 264
265static int piix_config_drive_xfer_rate (ide_drive_t *drive) 265static int piix_config_drive_xfer_rate (ide_drive_t *drive)
266{ 266{
267 drive->init_speed = 0;
268
269 if (ide_tune_dma(drive)) 267 if (ide_tune_dma(drive))
270 return 0; 268 return 0;
271 269