/* fc_lport_ptp_setup() - Create an rport for point-to-point mode @lport: The lport to attach the ptp rport to @remote_fid: The FID of the ptp rport @remote_wwpn: The WWPN of the ptp rport @remote_wwnn: The WWNN of the ptp rport  */
static void fc_lport_ptp_setup(struct fc_lport *lport, u32 remote_fid, u64 remote_wwpn, u64 remote_wwnn)
/* fc_lport_ptp_setup() - Create an rport for point-to-point mode @lport: The lport to attach the ptp rport to @remote_fid: The FID of the ptp rport @remote_wwpn: The WWPN of the ptp rport @remote_wwnn: The WWNN of the ptp rport  */
static void fc_lport_ptp_setup(struct fc_lport *lport, u32 remote_fid, u64 remote_wwpn, u64 remote_wwnn)
{
	mutex_lock(&lport->disc.disc_mutex);
	if (lport->ptp_rdata)
		lport->tt.rport_logoff(lport->ptp_rdata);
	lport->ptp_rdata = lport->tt.rport_create(lport, remote_fid);
	lport->ptp_rdata->ids.port_name = remote_wwpn;
	lport->ptp_rdata->ids.node_name = remote_wwnn;
	mutex_unlock(&lport->disc.disc_mutex);
	lport->tt.rport_login(lport->ptp_rdata);
	fc_lport_enter_ready(lport);
}