]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/ide/pci/pdc202xx_new.c
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[karo-tx-linux.git] / drivers / ide / pci / pdc202xx_new.c
index f8508d9cccd31239948c510aa1c8b931b715fa07..a8a01b4ab607a2c158b4db54b00678d0fdd8dd42 100644 (file)
@@ -219,7 +219,7 @@ static int pdcnew_tune_chipset(ide_drive_t *drive, u8 speed)
 
 static void pdcnew_tune_drive(ide_drive_t *drive, u8 pio)
 {
-       pio = ide_get_best_pio_mode(drive, pio, 4, NULL);
+       pio = ide_get_best_pio_mode(drive, pio, 4);
        (void)pdcnew_tune_chipset(drive, XFER_PIO_0 + pio);
 }