提交 474838d5 编写于 作者: C Christoph Hellwig 提交者: James Bottomley

[SCSI] remove Scsi_Host.eh_active

now that the abuse in qla2xxx is gone this field can be remove.
Signed-off-by: NChristoph Hellwig <hch@lst.de>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 ad42eb1b
...@@ -1607,8 +1607,6 @@ int scsi_error_handler(void *data) ...@@ -1607,8 +1607,6 @@ int scsi_error_handler(void *data)
printk("Error handler scsi_eh_%d waking up\n", printk("Error handler scsi_eh_%d waking up\n",
shost->host_no)); shost->host_no));
shost->eh_active = 1;
/* /*
* We have a host that is failing for some reason. Figure out * We have a host that is failing for some reason. Figure out
* what we need to do to get it up and online again (if we can). * what we need to do to get it up and online again (if we can).
...@@ -1619,8 +1617,6 @@ int scsi_error_handler(void *data) ...@@ -1619,8 +1617,6 @@ int scsi_error_handler(void *data)
else else
scsi_unjam_host(shost); scsi_unjam_host(shost);
shost->eh_active = 0;
/* /*
* Note - if the above fails completely, the action is to take * Note - if the above fails completely, the action is to take
* individual devices offline and flush the queue of any * individual devices offline and flush the queue of any
......
...@@ -469,8 +469,6 @@ struct Scsi_Host { ...@@ -469,8 +469,6 @@ struct Scsi_Host {
struct task_struct * ehandler; /* Error recovery thread. */ struct task_struct * ehandler; /* Error recovery thread. */
struct semaphore * eh_action; /* Wait for specific actions on the struct semaphore * eh_action; /* Wait for specific actions on the
host. */ host. */
unsigned int eh_active:1; /* Indicates the eh thread is awake and active if
this is true. */
wait_queue_head_t host_wait; wait_queue_head_t host_wait;
struct scsi_host_template *hostt; struct scsi_host_template *hostt;
struct scsi_transport_template *transportt; struct scsi_transport_template *transportt;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册