diff options
Diffstat (limited to 'drivers/ata/pata_icside.c')
-rw-r--r-- | drivers/ata/pata_icside.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/ata/pata_icside.c b/drivers/ata/pata_icside.c index ff16b0eaa2c2..13d43e9dd279 100644 --- a/drivers/ata/pata_icside.c +++ b/drivers/ata/pata_icside.c | |||
@@ -332,12 +332,6 @@ static void pata_icside_postreset(struct ata_link *link, unsigned int *classes) | |||
332 | } | 332 | } |
333 | } | 333 | } |
334 | 334 | ||
335 | static void pata_icside_error_handler(struct ata_port *ap) | ||
336 | { | ||
337 | ata_bmdma_drive_eh(ap, ata_std_prereset, ata_std_softreset, NULL, | ||
338 | pata_icside_postreset); | ||
339 | } | ||
340 | |||
341 | static struct ata_port_operations pata_icside_port_ops = { | 335 | static struct ata_port_operations pata_icside_port_ops = { |
342 | .inherits = &ata_sff_port_ops, | 336 | .inherits = &ata_sff_port_ops, |
343 | /* no need to build any PRD tables for DMA */ | 337 | /* no need to build any PRD tables for DMA */ |
@@ -350,7 +344,7 @@ static struct ata_port_operations pata_icside_port_ops = { | |||
350 | 344 | ||
351 | .cable_detect = ata_cable_40wire, | 345 | .cable_detect = ata_cable_40wire, |
352 | .set_dmamode = pata_icside_set_dmamode, | 346 | .set_dmamode = pata_icside_set_dmamode, |
353 | .error_handler = pata_icside_error_handler, | 347 | .postreset = pata_icside_postreset, |
354 | .post_internal_cmd = pata_icside_bmdma_stop, | 348 | .post_internal_cmd = pata_icside_bmdma_stop, |
355 | }; | 349 | }; |
356 | 350 | ||