diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-08-15 05:38:46 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:34 -0400 |
commit | 6d32d30f55020d766388df7515f771f68c973033 (patch) | |
tree | ec0efe48460b5b3f177fed2698ccd04b7964359b /drivers/ata/sata_nv.c | |
parent | cb94c1cf5a6beffbd8935eb91227df0dd1987644 (diff) |
[libata] Remove ->irq_ack() hook, and ata_dummy_irq_on()
* ->irq_ack() is redundant to what the irq handler already
performs... chk-status + irq-clear. Furthermore, it is only
called in one place, when screaming-irq-debugging is enabled,
so we don't want to bother with a hook just for that.
* ata_dummy_irq_on() is only ever used in drivers that have
no callpath reaching ->irq_on(). Remove .irq_on hook from
those drivers, and the now-unused ata_dummy_irq_on()
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 884d9f05e6c6..88ecca6343ea 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -359,7 +359,6 @@ static const struct ata_port_operations nv_generic_ops = { | |||
359 | .data_xfer = ata_data_xfer, | 359 | .data_xfer = ata_data_xfer, |
360 | .irq_clear = ata_bmdma_irq_clear, | 360 | .irq_clear = ata_bmdma_irq_clear, |
361 | .irq_on = ata_irq_on, | 361 | .irq_on = ata_irq_on, |
362 | .irq_ack = ata_irq_ack, | ||
363 | .scr_read = nv_scr_read, | 362 | .scr_read = nv_scr_read, |
364 | .scr_write = nv_scr_write, | 363 | .scr_write = nv_scr_write, |
365 | .port_start = ata_port_start, | 364 | .port_start = ata_port_start, |
@@ -385,7 +384,6 @@ static const struct ata_port_operations nv_nf2_ops = { | |||
385 | .data_xfer = ata_data_xfer, | 384 | .data_xfer = ata_data_xfer, |
386 | .irq_clear = ata_bmdma_irq_clear, | 385 | .irq_clear = ata_bmdma_irq_clear, |
387 | .irq_on = ata_irq_on, | 386 | .irq_on = ata_irq_on, |
388 | .irq_ack = ata_irq_ack, | ||
389 | .scr_read = nv_scr_read, | 387 | .scr_read = nv_scr_read, |
390 | .scr_write = nv_scr_write, | 388 | .scr_write = nv_scr_write, |
391 | .port_start = ata_port_start, | 389 | .port_start = ata_port_start, |
@@ -411,7 +409,6 @@ static const struct ata_port_operations nv_ck804_ops = { | |||
411 | .data_xfer = ata_data_xfer, | 409 | .data_xfer = ata_data_xfer, |
412 | .irq_clear = ata_bmdma_irq_clear, | 410 | .irq_clear = ata_bmdma_irq_clear, |
413 | .irq_on = ata_irq_on, | 411 | .irq_on = ata_irq_on, |
414 | .irq_ack = ata_irq_ack, | ||
415 | .scr_read = nv_scr_read, | 412 | .scr_read = nv_scr_read, |
416 | .scr_write = nv_scr_write, | 413 | .scr_write = nv_scr_write, |
417 | .port_start = ata_port_start, | 414 | .port_start = ata_port_start, |
@@ -439,7 +436,6 @@ static const struct ata_port_operations nv_adma_ops = { | |||
439 | .data_xfer = ata_data_xfer, | 436 | .data_xfer = ata_data_xfer, |
440 | .irq_clear = nv_adma_irq_clear, | 437 | .irq_clear = nv_adma_irq_clear, |
441 | .irq_on = ata_irq_on, | 438 | .irq_on = ata_irq_on, |
442 | .irq_ack = ata_irq_ack, | ||
443 | .scr_read = nv_scr_read, | 439 | .scr_read = nv_scr_read, |
444 | .scr_write = nv_scr_write, | 440 | .scr_write = nv_scr_write, |
445 | .port_start = nv_adma_port_start, | 441 | .port_start = nv_adma_port_start, |