diff options
Diffstat (limited to 'drivers/ata/pata-imx.c')
-rw-r--r-- | drivers/ata/pata-imx.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/pata-imx.c b/drivers/ata/pata-imx.c index 7f9e39b503..6bd7524a6a 100644 --- a/drivers/ata/pata-imx.c +++ b/drivers/ata/pata-imx.c @@ -78,9 +78,6 @@ static void pata_imx_set_bus_timing(void __iomem *base, unsigned long clkrate, { uint32_t T = 1000000000 / clkrate; - struct mxc_ata_config_regs *ata_regs; - ata_regs = (struct mxc_ata_config_regs *)base; - if (mode >= ARRAY_SIZE(pio_t1)) return; |