hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
kernel/drivers/s390/scsi/zfcp_fc.c
....@@ -534,8 +534,7 @@
534534
535535 /* re-init to undo drop from zfcp_fc_adisc() */
536536 port->d_id = ntoh24(adisc_resp->adisc_port_id);
537
- /* port is good, unblock rport without going through erp */
538
- zfcp_scsi_schedule_rport_register(port);
537
+ /* port is still good, nothing to do */
539538 out:
540539 atomic_andnot(ZFCP_STATUS_PORT_LINK_TEST, &port->status);
541540 put_device(&port->dev);
....@@ -595,9 +594,6 @@
595594 int retval;
596595
597596 set_worker_desc("zadisc%16llx", port->wwpn); /* < WORKER_DESC_LEN=24 */
598
- get_device(&port->dev);
599
- port->rport_task = RPORT_DEL;
600
- zfcp_scsi_rport_work(&port->rport_work);
601597
602598 /* only issue one test command at one time per port */
603599 if (atomic_read(&port->status) & ZFCP_STATUS_PORT_LINK_TEST)