/* This routine modifies fcp_poll_timer field of @phba by cfg_poll_tmo. The default value of cfg_poll_tmo is 10 milliseconds.  */
static __inline__ void lpfc_poll_rearm_timer(struct lpfc_hba *phba)
/* This routine modifies fcp_poll_timer field of @phba by cfg_poll_tmo. The default value of cfg_poll_tmo is 10 milliseconds.  */
static __inline__ void lpfc_poll_rearm_timer(struct lpfc_hba *phba)
{
	unsigned long  poll_tmo_expires =
		(jiffies + msecs_to_jiffies(phba->cfg_poll_tmo));
	if (phba->sli.ring[LPFC_FCP_RING].txcmplq_cnt)
		mod_timer(&phba->fcp_poll_timer,
			  poll_tmo_expires);
}