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_serverworks.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_serverworks.c')
-rw-r--r-- | drivers/ata/pata_serverworks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/pata_serverworks.c b/drivers/ata/pata_serverworks.c index c87cd67f4152..7c08f25c9544 100644 --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c | |||
@@ -318,7 +318,6 @@ static struct scsi_host_template serverworks_sht = { | |||
318 | }; | 318 | }; |
319 | 319 | ||
320 | static struct ata_port_operations serverworks_osb4_port_ops = { | 320 | static struct ata_port_operations serverworks_osb4_port_ops = { |
321 | .port_disable = ata_port_disable, | ||
322 | .set_piomode = serverworks_set_piomode, | 321 | .set_piomode = serverworks_set_piomode, |
323 | .set_dmamode = serverworks_set_dmamode, | 322 | .set_dmamode = serverworks_set_dmamode, |
324 | .mode_filter = serverworks_osb4_filter, | 323 | .mode_filter = serverworks_osb4_filter, |
@@ -353,7 +352,6 @@ static struct ata_port_operations serverworks_osb4_port_ops = { | |||
353 | }; | 352 | }; |
354 | 353 | ||
355 | static struct ata_port_operations serverworks_csb_port_ops = { | 354 | static struct ata_port_operations serverworks_csb_port_ops = { |
356 | .port_disable = ata_port_disable, | ||
357 | .set_piomode = serverworks_set_piomode, | 355 | .set_piomode = serverworks_set_piomode, |
358 | .set_dmamode = serverworks_set_dmamode, | 356 | .set_dmamode = serverworks_set_dmamode, |
359 | .mode_filter = serverworks_csb_filter, | 357 | .mode_filter = serverworks_csb_filter, |