Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4973
b: refs/heads/master
c: a4c8f62
h: refs/heads/master
i:
  4971: e62c946
v: v3
  • Loading branch information
Christoph Hellwig authored and James Bottomley committed Jun 26, 2005
1 parent d869a47 commit 6302b1f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 26 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: fa4c49669f0408557bc52cd7054c920a8790dec6
refs/heads/master: a4c8f6285165a7089edb2010dbd894148ca95d57
5 changes: 0 additions & 5 deletions trunk/drivers/scsi/dpt_i2o.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,6 @@ static int adpt_queue(struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *))
return 1;
}

if(cmd->eh_state != SCSI_STATE_QUEUED){
// If we are not doing error recovery
mod_timer(&cmd->eh_timeout, timeout);
}

// TODO if the cmd->device if offline then I may need to issue a bus rescan
// followed by a get_lct to see if the device is there anymore
if((pDev = (struct adpt_device*) (cmd->device->hostdata)) == NULL) {
Expand Down
10 changes: 0 additions & 10 deletions trunk/drivers/scsi/eata.c
Original file line number Diff line number Diff line change
Expand Up @@ -1899,16 +1899,6 @@ static int eata2x_eh_abort(struct scsi_cmnd *SCarg)
printk("%s: abort, mbox %d, interrupt pending.\n",
ha->board_name, i);

if (SCarg->eh_state == SCSI_STATE_TIMEOUT) {
unmap_dma(i, ha);
SCarg->host_scribble = NULL;
ha->cp_stat[i] = FREE;
printk
("%s, abort, mbox %d, eh_state timeout, pid %ld.\n",
ha->board_name, i, SCarg->pid);
return SUCCESS;
}

return FAILED;
}

Expand Down
9 changes: 0 additions & 9 deletions trunk/drivers/scsi/u14-34f.c
Original file line number Diff line number Diff line change
Expand Up @@ -1372,15 +1372,6 @@ static int u14_34f_eh_abort(struct scsi_cmnd *SCarg) {
if (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED)
printk("%s: abort, mbox %d, interrupt pending.\n", BN(j), i);

if (SCarg->eh_state == SCSI_STATE_TIMEOUT) {
unmap_dma(i, j);
SCarg->host_scribble = NULL;
HD(j)->cp_stat[i] = FREE;
printk("%s, abort, mbox %d, eh_state timeout, pid %ld.\n",
BN(j), i, SCarg->pid);
return SUCCESS;
}

return FAILED;
}

Expand Down
1 change: 0 additions & 1 deletion trunk/include/scsi/scsi_cmnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ struct scsi_cmnd {
struct list_head list; /* scsi_cmnd participates in queue lists */

struct list_head eh_entry; /* entry for the host eh_cmd_q */
int eh_state; /* Used for state tracking in error handlr */
int eh_eflags; /* Used by error handlr */
void (*done) (struct scsi_cmnd *); /* Mid-level done function */

Expand Down

0 comments on commit 6302b1f

Please sign in to comment.