Loading drivers/scsi/esp.c +1 −3 Original line number Original line Diff line number Diff line Loading @@ -2068,14 +2068,12 @@ static int esp_reset(struct scsi_cmnd *SCptr) { { struct esp *esp = (struct esp *) SCptr->device->host->hostdata; struct esp *esp = (struct esp *) SCptr->device->host->hostdata; spin_lock_irq(esp->ehost->host_lock); (void) esp_do_resetbus(esp); (void) esp_do_resetbus(esp); spin_unlock_irq(esp->ehost->host_lock); spin_unlock_irq(esp->ehost->host_lock); wait_event(esp->reset_queue, (esp->resetting_bus == 0)); wait_event(esp->reset_queue, (esp->resetting_bus == 0)); spin_lock_irq(esp->ehost->host_lock); return SUCCESS; return SUCCESS; } } Loading Loading
drivers/scsi/esp.c +1 −3 Original line number Original line Diff line number Diff line Loading @@ -2068,14 +2068,12 @@ static int esp_reset(struct scsi_cmnd *SCptr) { { struct esp *esp = (struct esp *) SCptr->device->host->hostdata; struct esp *esp = (struct esp *) SCptr->device->host->hostdata; spin_lock_irq(esp->ehost->host_lock); (void) esp_do_resetbus(esp); (void) esp_do_resetbus(esp); spin_unlock_irq(esp->ehost->host_lock); spin_unlock_irq(esp->ehost->host_lock); wait_event(esp->reset_queue, (esp->resetting_bus == 0)); wait_event(esp->reset_queue, (esp->resetting_bus == 0)); spin_lock_irq(esp->ehost->host_lock); return SUCCESS; return SUCCESS; } } Loading