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_nv.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_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index 88ecca6343ea..b860f99fc288 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -340,7 +340,6 @@ static struct scsi_host_template nv_adma_sht = { | |||
340 | }; | 340 | }; |
341 | 341 | ||
342 | static const struct ata_port_operations nv_generic_ops = { | 342 | static const struct ata_port_operations nv_generic_ops = { |
343 | .port_disable = ata_port_disable, | ||
344 | .tf_load = ata_tf_load, | 343 | .tf_load = ata_tf_load, |
345 | .tf_read = ata_tf_read, | 344 | .tf_read = ata_tf_read, |
346 | .exec_command = ata_exec_command, | 345 | .exec_command = ata_exec_command, |
@@ -365,7 +364,6 @@ static const struct ata_port_operations nv_generic_ops = { | |||
365 | }; | 364 | }; |
366 | 365 | ||
367 | static const struct ata_port_operations nv_nf2_ops = { | 366 | static const struct ata_port_operations nv_nf2_ops = { |
368 | .port_disable = ata_port_disable, | ||
369 | .tf_load = ata_tf_load, | 367 | .tf_load = ata_tf_load, |
370 | .tf_read = ata_tf_read, | 368 | .tf_read = ata_tf_read, |
371 | .exec_command = ata_exec_command, | 369 | .exec_command = ata_exec_command, |
@@ -390,7 +388,6 @@ static const struct ata_port_operations nv_nf2_ops = { | |||
390 | }; | 388 | }; |
391 | 389 | ||
392 | static const struct ata_port_operations nv_ck804_ops = { | 390 | static const struct ata_port_operations nv_ck804_ops = { |
393 | .port_disable = ata_port_disable, | ||
394 | .tf_load = ata_tf_load, | 391 | .tf_load = ata_tf_load, |
395 | .tf_read = ata_tf_read, | 392 | .tf_read = ata_tf_read, |
396 | .exec_command = ata_exec_command, | 393 | .exec_command = ata_exec_command, |
@@ -416,7 +413,6 @@ static const struct ata_port_operations nv_ck804_ops = { | |||
416 | }; | 413 | }; |
417 | 414 | ||
418 | static const struct ata_port_operations nv_adma_ops = { | 415 | static const struct ata_port_operations nv_adma_ops = { |
419 | .port_disable = ata_port_disable, | ||
420 | .tf_load = ata_tf_load, | 416 | .tf_load = ata_tf_load, |
421 | .tf_read = nv_adma_tf_read, | 417 | .tf_read = nv_adma_tf_read, |
422 | .check_atapi_dma = nv_adma_check_atapi_dma, | 418 | .check_atapi_dma = nv_adma_check_atapi_dma, |