Skip to content

Commit

Permalink
libata: remove irq_on from ata_bus_reset() and ata_std_postreset()
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Albert Lee authored and Jeff Garzik committed Jul 12, 2007
1 parent e04b3b9 commit c6e54a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3164,9 +3164,6 @@ void ata_bus_reset(struct ata_port *ap)
if ((slave_possible) && (err != 0x81))
ap->device[1].class = ata_dev_try_classify(ap, 1, &err);

/* re-enable interrupts */
ap->ops->irq_on(ap);

/* is double-select really necessary? */
if (ap->device[1].class != ATA_DEV_NONE)
ap->ops->dev_select(ap, 1);
Expand Down Expand Up @@ -3551,10 +3548,6 @@ void ata_std_postreset(struct ata_port *ap, unsigned int *classes)
if (sata_scr_read(ap, SCR_ERROR, &serror) == 0)
sata_scr_write(ap, SCR_ERROR, serror);

/* 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);
Expand Down
4 changes: 0 additions & 4 deletions drivers/ata/pata_scc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c6e54a5

Please sign in to comment.