ata: pata-imx: Remove unused variable
Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
90f5eabb45
commit
e8f8e45be1
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue