Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58061
b: refs/heads/master
c: 8b5bb2f
h: refs/heads/master
i:
  58059: e536eb1
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jun 27, 2007
1 parent a9bc99e commit dd4fd56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 37301a559d87494614fb843b96b7528532236f82
refs/heads/master: 8b5bb2fa3d1c2a90ca921b6bfbb7e2de1e6dd273
4 changes: 1 addition & 3 deletions trunk/drivers/ata/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ static int ata_eh_reset(struct ata_port *ap, int classify,
unsigned long deadline;
unsigned int action;
ata_reset_fn_t reset;
int i, did_followup_srst, rc;
int i, rc;

/* about to reset */
ata_eh_about_to_do(ap, NULL, ehc->i.action & ATA_EH_RESET_MASK);
Expand Down Expand Up @@ -1687,11 +1687,9 @@ static int ata_eh_reset(struct ata_port *ap, int classify,

rc = ata_do_reset(ap, reset, classes, deadline);

did_followup_srst = 0;
if (reset == hardreset &&
ata_eh_followup_srst_needed(rc, classify, classes)) {
/* okay, let's do follow-up softreset */
did_followup_srst = 1;
reset = softreset;

if (!reset) {
Expand Down

0 comments on commit dd4fd56

Please sign in to comment.