Commit 066ce4db authored by Jeff Garzik's avatar Jeff Garzik

ata/sata_fsl: remove unneeded sata_fsl_hardreset()

Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
Signed-off-by: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment