aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/u14-34f.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2005-06-19 07:39:23 -0400
committerJames Bottomley <jejb@titanic.(none)>2005-06-26 13:14:10 -0400
commita4c8f6285165a7089edb2010dbd894148ca95d57 (patch)
tree50ce1ab6b0944f13d821ada235292e4363ddb1c2 /drivers/scsi/u14-34f.c
parentfa4c49669f0408557bc52cd7054c920a8790dec6 (diff)
[SCSI] remove scsi_cmnd.eh_state
it's never set to anything, and just three broken drivers are looking at it and doing odd things. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/u14-34f.c')
-rw-r--r--drivers/scsi/u14-34f.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f.c
index 98369ce0928..b0b6cdf02cb 100644
--- a/drivers/scsi/u14-34f.c
+++ b/drivers/scsi/u14-34f.c
@@ -1372,15 +1372,6 @@ static int u14_34f_eh_abort(struct scsi_cmnd *SCarg) {
1372 if (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED) 1372 if (inb(sh[j]->io_port + REG_SYS_INTR) & IRQ_ASSERTED)
1373 printk("%s: abort, mbox %d, interrupt pending.\n", BN(j), i); 1373 printk("%s: abort, mbox %d, interrupt pending.\n", BN(j), i);
1374 1374
1375 if (SCarg->eh_state == SCSI_STATE_TIMEOUT) {
1376 unmap_dma(i, j);
1377 SCarg->host_scribble = NULL;
1378 HD(j)->cp_stat[i] = FREE;
1379 printk("%s, abort, mbox %d, eh_state timeout, pid %ld.\n",
1380 BN(j), i, SCarg->pid);
1381 return SUCCESS;
1382 }
1383
1384 return FAILED; 1375 return FAILED;
1385 } 1376 }
1386 1377