ide: drop "PIO data" argument from ide_get_best_pio_mode()
[firefly-linux-kernel-4.4.55.git] / drivers / ide / legacy / ali14xx.c
index 30aeb8750c00a64c47a26948ed94d2d470e259fc..d5c7a57b71c1f0b056af59b0ce756f9739aa28cd 100644 (file)
@@ -117,7 +117,7 @@ static void ali14xx_tune_drive (ide_drive_t *drive, u8 pio)
        unsigned long flags;
        int bus_speed = system_bus_clock();
 
-       pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO, NULL);
+       pio = ide_get_best_pio_mode(drive, pio, ALI_MAX_PIO);
 
        /* calculate timing, according to PIO mode */
        time1 = ide_pio_cycle_time(drive, pio);