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/pata_cmd64x.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/pata_cmd64x.c')
-rw-r--r-- | drivers/ata/pata_cmd64x.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c index d308c4644647..9e412c26b2a3 100644 --- a/drivers/ata/pata_cmd64x.c +++ b/drivers/ata/pata_cmd64x.c | |||
@@ -284,7 +284,6 @@ static struct scsi_host_template cmd64x_sht = { | |||
284 | }; | 284 | }; |
285 | 285 | ||
286 | static struct ata_port_operations cmd64x_port_ops = { | 286 | static struct ata_port_operations cmd64x_port_ops = { |
287 | .port_disable = ata_port_disable, | ||
288 | .set_piomode = cmd64x_set_piomode, | 287 | .set_piomode = cmd64x_set_piomode, |
289 | .set_dmamode = cmd64x_set_dmamode, | 288 | .set_dmamode = cmd64x_set_dmamode, |
290 | .mode_filter = ata_pci_default_filter, | 289 | .mode_filter = ata_pci_default_filter, |
@@ -318,7 +317,6 @@ static struct ata_port_operations cmd64x_port_ops = { | |||
318 | }; | 317 | }; |
319 | 318 | ||
320 | static struct ata_port_operations cmd646r1_port_ops = { | 319 | static struct ata_port_operations cmd646r1_port_ops = { |
321 | .port_disable = ata_port_disable, | ||
322 | .set_piomode = cmd64x_set_piomode, | 320 | .set_piomode = cmd64x_set_piomode, |
323 | .set_dmamode = cmd64x_set_dmamode, | 321 | .set_dmamode = cmd64x_set_dmamode, |
324 | .mode_filter = ata_pci_default_filter, | 322 | .mode_filter = ata_pci_default_filter, |
@@ -352,7 +350,6 @@ static struct ata_port_operations cmd646r1_port_ops = { | |||
352 | }; | 350 | }; |
353 | 351 | ||
354 | static struct ata_port_operations cmd648_port_ops = { | 352 | static struct ata_port_operations cmd648_port_ops = { |
355 | .port_disable = ata_port_disable, | ||
356 | .set_piomode = cmd64x_set_piomode, | 353 | .set_piomode = cmd64x_set_piomode, |
357 | .set_dmamode = cmd64x_set_dmamode, | 354 | .set_dmamode = cmd64x_set_dmamode, |
358 | .mode_filter = ata_pci_default_filter, | 355 | .mode_filter = ata_pci_default_filter, |