summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorJeff Garzik2007-08-16 09:17:03 +0200
committerJeff Garzik2007-10-12 20:55:35 +0200
commitac8869d56d95a8c74403e6f7a47d74fcfcc1b988 (patch)
tree2f812aff4c6e559f3c093f9933960d09631375c8 /drivers/ata/ahci.c
parentlibata pata_via: ACPI checks for 80wire cable (diff)
downloadkernel-qcow2-linux-ac8869d56d95a8c74403e6f7a47d74fcfcc1b988.tar.gz
kernel-qcow2-linux-ac8869d56d95a8c74403e6f7a47d74fcfcc1b988.tar.xz
kernel-qcow2-linux-ac8869d56d95a8c74403e6f7a47d74fcfcc1b988.zip
[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.c4
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 = {
};
static const struct ata_port_operations ahci_ops = {
- .port_disable = ata_port_disable,
-
.check_status = ahci_check_status,
.check_altstatus = ahci_check_status,
.dev_select = ata_noop_dev_select,
@@ -296,8 +294,6 @@ static const struct ata_port_operations ahci_ops = {
};
static const struct ata_port_operations ahci_vt8251_ops = {
- .port_disable = ata_port_disable,
-
.check_status = ahci_check_status,
.check_altstatus = ahci_check_status,
.dev_select = ata_noop_dev_select,