Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 21828
b: refs/heads/master
c: ac7c6d5
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Feb 10, 2006
1 parent 9977b39 commit 4d30e71
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 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: 3a39746a5290445ea4238f21ac260e42106c1454
refs/heads/master: ac7c6d596e2177857ffc35b8d453ee313a874d8d
6 changes: 0 additions & 6 deletions trunk/drivers/scsi/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2018,8 +2018,6 @@ int ata_std_softreset(struct ata_port *ap, int verbose, unsigned int *classes)
*/
int sata_std_hardreset(struct ata_port *ap, int verbose, unsigned int *class)
{
u32 serror;

DPRINTK("ENTER\n");

/* Issue phy wake/reset */
Expand All @@ -2034,10 +2032,6 @@ int sata_std_hardreset(struct ata_port *ap, int verbose, unsigned int *class)
/* Bring phy back */
sata_phy_resume(ap);

/* Clear SError */
serror = scr_read(ap, SCR_ERROR);
scr_write(ap, SCR_ERROR, serror);

/* TODO: phy layer with polling, timeouts, etc. */
if (!sata_dev_present(ap)) {
*class = ATA_DEV_NONE;
Expand Down

0 comments on commit 4d30e71

Please sign in to comment.