diff options
author | Alan Cox <alan@lxorguk.ukuu.org.uk> | 2007-05-21 10:20:33 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-21 20:00:54 -0400 |
commit | bc9a8a7eaa58d802a2b26c75edcc95cb92835db3 (patch) | |
tree | 202250109e861ae2ba6dfd2fa407b1b7487dca68 | |
parent | 2f91d81db3060f6d218e32d935b9a18ffca4dde2 (diff) |
libata: Kiss post_set_mode goodbye
As of the -mm tree we don't have post_set_mode users any more.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r-- | drivers/ata/libata-core.c | 3 | ||||
-rw-r--r-- | include/linux/libata.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 94ec0f524acf..c809619d23ce 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2893,9 +2893,6 @@ int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev) | |||
2893 | if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX)) | 2893 | if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX)) |
2894 | ap->host->simplex_claimed = ap; | 2894 | ap->host->simplex_claimed = ap; |
2895 | 2895 | ||
2896 | /* step5: chip specific finalisation */ | ||
2897 | if (ap->ops->post_set_mode) | ||
2898 | ap->ops->post_set_mode(ap); | ||
2899 | out: | 2896 | out: |
2900 | if (rc) | 2897 | if (rc) |
2901 | *r_failed_dev = dev; | 2898 | *r_failed_dev = dev; |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 666592ef0b25..85f7b1bd1482 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -574,8 +574,6 @@ struct ata_port_operations { | |||
574 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ | 574 | void (*phy_reset) (struct ata_port *ap); /* obsolete */ |
575 | int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); | 575 | int (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev); |
576 | 576 | ||
577 | void (*post_set_mode) (struct ata_port *ap); | ||
578 | |||
579 | int (*cable_detect) (struct ata_port *ap); | 577 | int (*cable_detect) (struct ata_port *ap); |
580 | 578 | ||
581 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); | 579 | int (*check_atapi_dma) (struct ata_queued_cmd *qc); |