]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
libata: Kiss post_set_mode goodbye
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Mon, 21 May 2007 14:20:33 +0000 (15:20 +0100)
committerJeff Garzik <jeff@garzik.org>
Tue, 22 May 2007 00:00:54 +0000 (20:00 -0400)
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>
drivers/ata/libata-core.c
include/linux/libata.h

index 94ec0f524acfdc8c6e4aa1e2c5c76765c1a318f8..c809619d23ce85f3d700c982f164b94e51aa0378 100644 (file)
@@ -2893,9 +2893,6 @@ int ata_do_set_mode(struct ata_port *ap, struct ata_device **r_failed_dev)
        if (used_dma && (ap->host->flags & ATA_HOST_SIMPLEX))
                ap->host->simplex_claimed = ap;
 
-       /* step5: chip specific finalisation */
-       if (ap->ops->post_set_mode)
-               ap->ops->post_set_mode(ap);
  out:
        if (rc)
                *r_failed_dev = dev;
index 666592ef0b256c0ccc8f805ab360c66f4a975e38..85f7b1bd1482ae7094c1d00eeec00b72b2b88d5f 100644 (file)
@@ -574,8 +574,6 @@ struct ata_port_operations {
        void (*phy_reset) (struct ata_port *ap); /* obsolete */
        int  (*set_mode) (struct ata_port *ap, struct ata_device **r_failed_dev);
 
-       void (*post_set_mode) (struct ata_port *ap);
-
        int (*cable_detect) (struct ata_port *ap);
 
        int  (*check_atapi_dma) (struct ata_queued_cmd *qc);