mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-13 16:40:22 +00:00
ata/sata_fsl: remove unneeded sata_fsl_hardreset()
Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: Li Yang <leoli@freescale.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
25ce945a8e
commit
066ce4db07
@ -991,25 +991,13 @@ err:
|
||||
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)
|
||||
{
|
||||
|
||||
DPRINTK("in xx_error_handler\n");
|
||||
|
||||
/* 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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user