/* fc_rport_lookup() - Lookup a remote port by port_id @lport: The local port to lookup the remote port on @port_id: The remote port ID to look up  */
static struct fc_rport_priv* fc_rport_lookup(const struct fc_lport *lport, u32 port_id)
/* fc_rport_lookup() - Lookup a remote port by port_id @lport: The local port to lookup the remote port on @port_id: The remote port ID to look up  */
static struct fc_rport_priv* fc_rport_lookup(const struct fc_lport *lport, u32 port_id)
{
	struct fc_rport_priv *rdata;
	list_for_each_entry(rdata, &lport->disc.rports, peers)
		if (rdata->ids.port_id == port_id)
			return rdata;
	return NULL;
}