Skip to content

Commit

Permalink
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Linus Torvalds committed Feb 22, 2006
2 parents 1a6a358 + a6ceda7 commit 9e956c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/scsi/esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -2068,14 +2068,12 @@ static int esp_reset(struct scsi_cmnd *SCptr)
{
struct esp *esp = (struct esp *) SCptr->device->host->hostdata;

spin_lock_irq(esp->ehost->host_lock);
(void) esp_do_resetbus(esp);

spin_unlock_irq(esp->ehost->host_lock);

wait_event(esp->reset_queue, (esp->resetting_bus == 0));

spin_lock_irq(esp->ehost->host_lock);

return SUCCESS;
}

Expand Down

0 comments on commit 9e956c2

Please sign in to comment.