Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bc9a8a7eaa58d802a2b26c75edcc95cb92835db3 Commit: bc9a8a7eaa58d802a2b26c75edcc95cb92835db3 Parent: 2f91d81db3060f6d218e32d935b9a18ffca4dde2 Author: Alan Cox <[EMAIL PROTECTED]> AuthorDate: Mon May 21 15:20:33 2007 +0100 Committer: Jeff Garzik <[EMAIL PROTECTED]> CommitDate: Mon May 21 20:00:54 2007 -0400
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 <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> --- drivers/ata/libata-core.c | 3 --- 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 94ec0f5..c809619 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) 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; diff --git a/include/linux/libata.h b/include/linux/libata.h index 666592e..85f7b1b 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -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); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html