summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_scc.c
diff options
context:
space:
mode:
authorAlbert Lee <albertcc@tw.ibm.com>2007-07-07 09:00:37 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-12 22:12:15 +0200
commitc6e54a578133fb353a50fb44d650768b3b9eb18e (patch)
treec8ce872c12bdbf501ac452f8ad1a58e4e5f6cfea /drivers/ata/pata_scc.c
parentata_piix: kill incorrect invalid map value warning (diff)
downloadlinux-c6e54a578133fb353a50fb44d650768b3b9eb18e.tar.xz
linux-c6e54a578133fb353a50fb44d650768b3b9eb18e.zip
libata: remove irq_on from ata_bus_reset() and ata_std_postreset()
It seems irq_on() in ata_bus_reset() and ata_std_postreset() are leftover of the EDD reset. Remove them. Signed-off-by: Albert Lee <albertcc@tw.ibm.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r--drivers/ata/pata_scc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c
index 274fabfc90e1..c55667e0eb65 100644
--- a/drivers/ata/pata_scc.c
+++ b/drivers/ata/pata_scc.c
@@ -912,10 +912,6 @@ static void scc_std_postreset (struct ata_port *ap, unsigned int *classes)
{
DPRINTK("ENTER\n");
- /* re-enable interrupts */
- if (!ap->ops->error_handler)
- ap->ops->irq_on(ap);
-
/* is double-select really necessary? */
if (classes[0] != ATA_DEV_NONE)
ap->ops->dev_select(ap, 1);