aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/dpt_i2o.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/dpt_i2o.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/dpt_i2o.c')
-rw-r--r--drivers/scsi/dpt_i2o.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/dpt_i2o.c b/drivers/scsi/dpt_i2o.c
index bbe346bd3cb8..c2604e88d3b0 100644
--- a/drivers/scsi/dpt_i2o.c
+++ b/drivers/scsi/dpt_i2o.c
@@ -418,11 +418,6 @@ static int adpt_queue(struct scsi_cmnd * cmd, void (*done) (struct scsi_cmnd *))
418 return 1; 418 return 1;
419 } 419 }
420 420
421 if(cmd->eh_state != SCSI_STATE_QUEUED){
422 // If we are not doing error recovery
423 mod_timer(&cmd->eh_timeout, timeout);
424 }
425
426 // TODO if the cmd->device if offline then I may need to issue a bus rescan 421 // TODO if the cmd->device if offline then I may need to issue a bus rescan
427 // followed by a get_lct to see if the device is there anymore 422 // followed by a get_lct to see if the device is there anymore
428 if((pDev = (struct adpt_device*) (cmd->device->hostdata)) == NULL) { 423 if((pDev = (struct adpt_device*) (cmd->device->hostdata)) == NULL) {