/* Description: If timeout is non zero set the dev_loss_tmo to timeout, else set dev_loss_tmo to one.  */
static void lpfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout)
/* Description: If timeout is non zero set the dev_loss_tmo to timeout, else set dev_loss_tmo to one.  */
static void lpfc_set_rport_loss_tmo(struct fc_rport *rport, uint32_t timeout)
{
	if (timeout)
		rport->dev_loss_tmo = timeout;
	else
		rport->dev_loss_tmo = 1;
}