diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index ed9a8a1517c6..e8f39f02bc3b 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -529,7 +529,7 @@ int zfcp_adapter_enqueue(struct ccw_device *ccw_device) | |||
529 | goto generic_services_failed; | 529 | goto generic_services_failed; |
530 | 530 | ||
531 | init_waitqueue_head(&adapter->remove_wq); | 531 | init_waitqueue_head(&adapter->remove_wq); |
532 | init_waitqueue_head(&adapter->erp_thread_wqh); | 532 | init_waitqueue_head(&adapter->erp_ready_wq); |
533 | init_waitqueue_head(&adapter->erp_done_wqh); | 533 | init_waitqueue_head(&adapter->erp_done_wqh); |
534 | 534 | ||
535 | INIT_LIST_HEAD(&adapter->port_list_head); | 535 | INIT_LIST_HEAD(&adapter->port_list_head); |
@@ -541,8 +541,6 @@ int zfcp_adapter_enqueue(struct ccw_device *ccw_device) | |||
541 | rwlock_init(&adapter->erp_lock); | 541 | rwlock_init(&adapter->erp_lock); |
542 | rwlock_init(&adapter->abort_lock); | 542 | rwlock_init(&adapter->abort_lock); |
543 | 543 | ||
544 | sema_init(&adapter->erp_ready_sem, 0); | ||
545 | |||
546 | INIT_WORK(&adapter->stat_work, _zfcp_status_read_scheduler); | 544 | INIT_WORK(&adapter->stat_work, _zfcp_status_read_scheduler); |
547 | INIT_WORK(&adapter->scan_work, _zfcp_fc_scan_ports_later); | 545 | INIT_WORK(&adapter->scan_work, _zfcp_fc_scan_ports_later); |
548 | 546 | ||