diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-19 07:39:23 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic.(none)> | 2005-06-26 13:14:10 -0400 |
commit | a4c8f6285165a7089edb2010dbd894148ca95d57 (patch) | |
tree | 50ce1ab6b0944f13d821ada235292e4363ddb1c2 /drivers/scsi/eata.c | |
parent | fa4c49669f0408557bc52cd7054c920a8790dec6 (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/eata.c')
-rw-r--r-- | drivers/scsi/eata.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/scsi/eata.c b/drivers/scsi/eata.c index 1bb8727eea3e..c10e45b94b62 100644 --- a/drivers/scsi/eata.c +++ b/drivers/scsi/eata.c | |||
@@ -1899,16 +1899,6 @@ static int eata2x_eh_abort(struct scsi_cmnd *SCarg) | |||
1899 | printk("%s: abort, mbox %d, interrupt pending.\n", | 1899 | printk("%s: abort, mbox %d, interrupt pending.\n", |
1900 | ha->board_name, i); | 1900 | ha->board_name, i); |
1901 | 1901 | ||
1902 | if (SCarg->eh_state == SCSI_STATE_TIMEOUT) { | ||
1903 | unmap_dma(i, ha); | ||
1904 | SCarg->host_scribble = NULL; | ||
1905 | ha->cp_stat[i] = FREE; | ||
1906 | printk | ||
1907 | ("%s, abort, mbox %d, eh_state timeout, pid %ld.\n", | ||
1908 | ha->board_name, i, SCarg->pid); | ||
1909 | return SUCCESS; | ||
1910 | } | ||
1911 | |||
1912 | return FAILED; | 1902 | return FAILED; |
1913 | } | 1903 | } |
1914 | 1904 | ||