/* fc_rport_init() - Initialize the remote port layer for a local port @lport: The local port to initialize the remote port layer for  */
int fc_rport_init(struct fc_lport *lport)
/* fc_rport_init() - Initialize the remote port layer for a local port @lport: The local port to initialize the remote port layer for  */
int fc_rport_init(struct fc_lport *lport)
{
	if (!lport->tt.rport_lookup)
		lport->tt.rport_lookup = fc_rport_lookup;
	if (!lport->tt.rport_create)
		lport->tt.rport_create = fc_rport_create;
	if (!lport->tt.rport_login)
		lport->tt.rport_login = fc_rport_login;
	if (!lport->tt.rport_logoff)
		lport->tt.rport_logoff = fc_rport_logoff;
	if (!lport->tt.rport_recv_req)
		lport->tt.rport_recv_req = fc_rport_recv_req;
	if (!lport->tt.rport_flush_queue)
		lport->tt.rport_flush_queue = fc_rport_flush_queue;
	if (!lport->tt.rport_destroy)
		lport->tt.rport_destroy = fc_rport_destroy;
	return 0;
}