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/ahci.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/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index c888c966a020..0d80189d03f3 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c | |||
@@ -264,8 +264,6 @@ static struct scsi_host_template ahci_sht = { | |||
264 | }; | 264 | }; |
265 | 265 | ||
266 | static const struct ata_port_operations ahci_ops = { | 266 | static const struct ata_port_operations ahci_ops = { |
267 | .port_disable = ata_port_disable, | ||
268 | |||
269 | .check_status = ahci_check_status, | 267 | .check_status = ahci_check_status, |
270 | .check_altstatus = ahci_check_status, | 268 | .check_altstatus = ahci_check_status, |
271 | .dev_select = ata_noop_dev_select, | 269 | .dev_select = ata_noop_dev_select, |
@@ -296,8 +294,6 @@ static const struct ata_port_operations ahci_ops = { | |||
296 | }; | 294 | }; |
297 | 295 | ||
298 | static const struct ata_port_operations ahci_vt8251_ops = { | 296 | static const struct ata_port_operations ahci_vt8251_ops = { |
299 | .port_disable = ata_port_disable, | ||
300 | |||
301 | .check_status = ahci_check_status, | 297 | .check_status = ahci_check_status, |
302 | .check_altstatus = ahci_check_status, | 298 | .check_altstatus = ahci_check_status, |
303 | .dev_select = ata_noop_dev_select, | 299 | .dev_select = ata_noop_dev_select, |