diff options
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r-- | drivers/ata/sata_fsl.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 865030ae8f8a..676302fdaa97 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -912,16 +912,6 @@ err: | |||
912 | return -EIO; | 912 | return -EIO; |
913 | } | 913 | } |
914 | 914 | ||
915 | static void sata_fsl_error_handler(struct ata_port *ap) | ||
916 | { | ||
917 | |||
918 | DPRINTK("in xx_error_handler\n"); | ||
919 | |||
920 | /* perform recovery */ | ||
921 | ata_do_eh(ap, ata_std_prereset, sata_fsl_softreset, sata_std_hardreset, | ||
922 | ata_std_postreset); | ||
923 | } | ||
924 | |||
925 | static void sata_fsl_post_internal_cmd(struct ata_queued_cmd *qc) | 915 | static void sata_fsl_post_internal_cmd(struct ata_queued_cmd *qc) |
926 | { | 916 | { |
927 | if (qc->flags & ATA_QCFLAG_FAILED) | 917 | if (qc->flags & ATA_QCFLAG_FAILED) |
@@ -1213,7 +1203,7 @@ static const struct ata_port_operations sata_fsl_ops = { | |||
1213 | 1203 | ||
1214 | .freeze = sata_fsl_freeze, | 1204 | .freeze = sata_fsl_freeze, |
1215 | .thaw = sata_fsl_thaw, | 1205 | .thaw = sata_fsl_thaw, |
1216 | .error_handler = sata_fsl_error_handler, | 1206 | .softreset = sata_fsl_softreset, |
1217 | .post_internal_cmd = sata_fsl_post_internal_cmd, | 1207 | .post_internal_cmd = sata_fsl_post_internal_cmd, |
1218 | 1208 | ||
1219 | .port_start = sata_fsl_port_start, | 1209 | .port_start = sata_fsl_port_start, |