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_via.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_via.c')
-rw-r--r-- | drivers/ata/sata_via.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/ata/sata_via.c b/drivers/ata/sata_via.c index 4b25c3ef986f..25162ec99384 100644 --- a/drivers/ata/sata_via.c +++ b/drivers/ata/sata_via.c | |||
@@ -122,8 +122,6 @@ static struct scsi_host_template svia_sht = { | |||
122 | }; | 122 | }; |
123 | 123 | ||
124 | static const struct ata_port_operations vt6420_sata_ops = { | 124 | static const struct ata_port_operations vt6420_sata_ops = { |
125 | .port_disable = ata_port_disable, | ||
126 | |||
127 | .tf_load = ata_tf_load, | 125 | .tf_load = ata_tf_load, |
128 | .tf_read = ata_tf_read, | 126 | .tf_read = ata_tf_read, |
129 | .check_status = ata_check_status, | 127 | .check_status = ata_check_status, |
@@ -151,8 +149,6 @@ static const struct ata_port_operations vt6420_sata_ops = { | |||
151 | }; | 149 | }; |
152 | 150 | ||
153 | static const struct ata_port_operations vt6421_pata_ops = { | 151 | static const struct ata_port_operations vt6421_pata_ops = { |
154 | .port_disable = ata_port_disable, | ||
155 | |||
156 | .set_piomode = vt6421_set_pio_mode, | 152 | .set_piomode = vt6421_set_pio_mode, |
157 | .set_dmamode = vt6421_set_dma_mode, | 153 | .set_dmamode = vt6421_set_dma_mode, |
158 | 154 | ||
@@ -184,8 +180,6 @@ static const struct ata_port_operations vt6421_pata_ops = { | |||
184 | }; | 180 | }; |
185 | 181 | ||
186 | static const struct ata_port_operations vt6421_sata_ops = { | 182 | static const struct ata_port_operations vt6421_sata_ops = { |
187 | .port_disable = ata_port_disable, | ||
188 | |||
189 | .tf_load = ata_tf_load, | 183 | .tf_load = ata_tf_load, |
190 | .tf_read = ata_tf_read, | 184 | .tf_read = ata_tf_read, |
191 | .check_status = ata_check_status, | 185 | .check_status = ata_check_status, |