diff options
Diffstat (limited to 'drivers/ata/pata_sl82c105.c')
-rw-r--r-- | drivers/ata/pata_sl82c105.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/ata/pata_sl82c105.c b/drivers/ata/pata_sl82c105.c index 1d97f920bd2b..bee11ca8f55a 100644 --- a/drivers/ata/pata_sl82c105.c +++ b/drivers/ata/pata_sl82c105.c | |||
@@ -64,12 +64,6 @@ static int sl82c105_pre_reset(struct ata_link *link, unsigned long deadline) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | 66 | ||
67 | static void sl82c105_error_handler(struct ata_port *ap) | ||
68 | { | ||
69 | ata_bmdma_drive_eh(ap, sl82c105_pre_reset, ata_std_softreset, NULL, ata_std_postreset); | ||
70 | } | ||
71 | |||
72 | |||
73 | /** | 67 | /** |
74 | * sl82c105_configure_piomode - set chip PIO timing | 68 | * sl82c105_configure_piomode - set chip PIO timing |
75 | * @ap: ATA interface | 69 | * @ap: ATA interface |
@@ -245,7 +239,7 @@ static struct ata_port_operations sl82c105_port_ops = { | |||
245 | .bmdma_stop = sl82c105_bmdma_stop, | 239 | .bmdma_stop = sl82c105_bmdma_stop, |
246 | .cable_detect = ata_cable_40wire, | 240 | .cable_detect = ata_cable_40wire, |
247 | .set_piomode = sl82c105_set_piomode, | 241 | .set_piomode = sl82c105_set_piomode, |
248 | .error_handler = sl82c105_error_handler, | 242 | .prereset = sl82c105_pre_reset, |
249 | }; | 243 | }; |
250 | 244 | ||
251 | /** | 245 | /** |