提交 066ce4db 编写于 作者: J Jeff Garzik

ata/sata_fsl: remove unneeded sata_fsl_hardreset()

Signed-off-by: NJeff Garzik <jeff@garzik.org>
Signed-off-by: NLi Yang <leoli@freescale.com>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 25ce945a
...@@ -991,25 +991,13 @@ static int sata_fsl_softreset(struct ata_link *link, unsigned int *class, ...@@ -991,25 +991,13 @@ static int sata_fsl_softreset(struct ata_link *link, unsigned int *class,
return -EIO; return -EIO;
} }
static int sata_fsl_hardreset(struct ata_port *ap, unsigned int *class,
unsigned long deadline)
{
int retval;
retval = sata_std_hardreset(ap, class, deadline);
DPRINTK("SATA FSL : in xx_hardreset, retval = 0x%d\n", retval);
return retval;
}
static void sata_fsl_error_handler(struct ata_port *ap) static void sata_fsl_error_handler(struct ata_port *ap)
{ {
DPRINTK("in xx_error_handler\n"); DPRINTK("in xx_error_handler\n");
/* perform recovery */ /* perform recovery */
ata_do_eh(ap, ata_std_prereset, sata_fsl_softreset, sata_fsl_hardreset, ata_do_eh(ap, ata_std_prereset, sata_fsl_softreset, sata_std_hardreset,
ata_std_postreset); ata_std_postreset);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册