diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-08-16 03:17:03 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-10-12 14:55:35 -0400 |
commit | ac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (patch) | |
tree | 2f812aff4c6e559f3c093f9933960d09631375c8 /drivers/ata/sata_mv.c | |
parent | 7d73a363dea186a864f6295bbe842da8044d42cd (diff) |
[libata] Remove ->port_disable() hook
It was always set to ata_port_disable(). Removed the hook, and replaced
the very few ap->ops->port_disable() callsites with direct calls to
ata_port_disable().
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata/sata_mv.c')
-rw-r--r-- | drivers/ata/sata_mv.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 393fc655f8c1..68c3f22890d2 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -483,8 +483,6 @@ static struct scsi_host_template mv6_sht = { | |||
483 | }; | 483 | }; |
484 | 484 | ||
485 | static const struct ata_port_operations mv5_ops = { | 485 | static const struct ata_port_operations mv5_ops = { |
486 | .port_disable = ata_port_disable, | ||
487 | |||
488 | .tf_load = ata_tf_load, | 486 | .tf_load = ata_tf_load, |
489 | .tf_read = ata_tf_read, | 487 | .tf_read = ata_tf_read, |
490 | .check_status = ata_check_status, | 488 | .check_status = ata_check_status, |
@@ -513,8 +511,6 @@ static const struct ata_port_operations mv5_ops = { | |||
513 | }; | 511 | }; |
514 | 512 | ||
515 | static const struct ata_port_operations mv6_ops = { | 513 | static const struct ata_port_operations mv6_ops = { |
516 | .port_disable = ata_port_disable, | ||
517 | |||
518 | .tf_load = ata_tf_load, | 514 | .tf_load = ata_tf_load, |
519 | .tf_read = ata_tf_read, | 515 | .tf_read = ata_tf_read, |
520 | .check_status = ata_check_status, | 516 | .check_status = ata_check_status, |
@@ -543,8 +539,6 @@ static const struct ata_port_operations mv6_ops = { | |||
543 | }; | 539 | }; |
544 | 540 | ||
545 | static const struct ata_port_operations mv_iie_ops = { | 541 | static const struct ata_port_operations mv_iie_ops = { |
546 | .port_disable = ata_port_disable, | ||
547 | |||
548 | .tf_load = ata_tf_load, | 542 | .tf_load = ata_tf_load, |
549 | .tf_read = ata_tf_read, | 543 | .tf_read = ata_tf_read, |
550 | .check_status = ata_check_status, | 544 | .check_status = ata_check_status, |