]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/ide/pci/slc90e66.c
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[mirror_ubuntu-hirsute-kernel.git] / drivers / ide / pci / slc90e66.c
index 115bcaefc8eec1f259dc6895573c1056c49cb63a..562747fbee392812f2ab980397868ffc318e1ff1 100644 (file)
@@ -103,7 +103,7 @@ static void slc90e66_tune_pio (ide_drive_t *drive, u8 pio)
 
 static void slc90e66_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);
        slc90e66_tune_pio(drive, pio);
        (void) ide_config_drive_speed(drive, XFER_PIO_0 + pio);
 }