diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fc.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/s390/scsi/zfcp_fc.c b/drivers/s390/scsi/zfcp_fc.c index 5d42929fe2f2..a0f925013acf 100644 --- a/drivers/s390/scsi/zfcp_fc.c +++ b/drivers/s390/scsi/zfcp_fc.c | |||
@@ -432,11 +432,6 @@ void zfcp_fc_link_test_work(struct work_struct *work) | |||
432 | container_of(work, struct zfcp_port, test_link_work); | 432 | container_of(work, struct zfcp_port, test_link_work); |
433 | int retval; | 433 | int retval; |
434 | 434 | ||
435 | if (!(atomic_read(&port->status) & ZFCP_STATUS_COMMON_UNBLOCKED)) { | ||
436 | zfcp_port_put(port); | ||
437 | return; /* port erp is running and will update rport status */ | ||
438 | } | ||
439 | |||
440 | zfcp_port_get(port); | 435 | zfcp_port_get(port); |
441 | port->rport_task = RPORT_DEL; | 436 | port->rport_task = RPORT_DEL; |
442 | zfcp_scsi_rport_work(&port->rport_work); | 437 | zfcp_scsi_rport_work(&port->rport_work); |