Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 56755
b: refs/heads/master
c: bc9a8a7
h: refs/heads/master
i:
  56753: 509832c
  56751: 706f4ea
v: v3
  • Loading branch information
Alan Cox authored and Jeff Garzik committed May 22, 2007
1 parent bc7e675 commit ae3840a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f91d81db3060f6d218e32d935b9a18ffca4dde2
refs/heads/master: bc9a8a7eaa58d802a2b26c75edcc95cb92835db3
3 changes: 0 additions & 3 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/linux/libata.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ae3840a

Please sign in to comment.