Skip to content

Commit

Permalink
[SCSI] remove Scsi_Host.eh_active
Browse files Browse the repository at this point in the history
now that the abuse in qla2xxx is gone this field can be remove.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Christoph Hellwig authored and James Bottomley committed Nov 6, 2005
1 parent ad42eb1 commit 474838d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions drivers/scsi/scsi_error.c
Original file line number Diff line number Diff line change
Expand Up @@ -1607,8 +1607,6 @@ int scsi_error_handler(void *data)
printk("Error handler scsi_eh_%d waking up\n",
shost->host_no));

shost->eh_active = 1;

/*
* 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).
Expand All @@ -1619,8 +1617,6 @@ int scsi_error_handler(void *data)
else
scsi_unjam_host(shost);

shost->eh_active = 0;

/*
* Note - if the above fails completely, the action is to take
* individual devices offline and flush the queue of any
Expand Down
2 changes: 0 additions & 2 deletions include/scsi/scsi_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -469,8 +469,6 @@ struct Scsi_Host {
struct task_struct * ehandler; /* Error recovery thread. */
struct semaphore * eh_action; /* Wait for specific actions on the
host. */
unsigned int eh_active:1; /* Indicates the eh thread is awake and active if
this is true. */
wait_queue_head_t host_wait;
struct scsi_host_template *hostt;
struct scsi_transport_template *transportt;
Expand Down

0 comments on commit 474838d

Please sign in to comment.