]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - drivers/ide/pci/hpt34x.c
ide: drop "PIO data" argument from ide_get_best_pio_mode()
[mirror_ubuntu-hirsute-kernel.git] / drivers / ide / pci / hpt34x.c
index 6d2ef0ee0f2b69403615475c8f600f0db54720cf..2e4591303f4feb945f2a7f385268d88e4b969477 100644 (file)
@@ -80,7 +80,7 @@ static int hpt34x_tune_chipset (ide_drive_t *drive, u8 xferspeed)
 
 static void hpt34x_tune_drive (ide_drive_t *drive, u8 pio)
 {
-       pio = ide_get_best_pio_mode(drive, pio, 5, NULL);
+       pio = ide_get_best_pio_mode(drive, pio, 5);
        (void) hpt34x_tune_chipset(drive, (XFER_PIO_0 + pio));
 }