/* Conditionally flush any pending message from firmware at start.  */
static void bfa_ioc_msgflush(struct bfa_ioc_s *ioc)
/* Conditionally flush any pending message from firmware at start.  */
static void bfa_ioc_msgflush(struct bfa_ioc_s *ioc)
{
	u32        r32;
	r32 = bfa_reg_read(ioc->ioc_regs.lpu_mbox_cmd);
	if (r32)
		bfa_reg_write(ioc->ioc_regs.lpu_mbox_cmd, 1);
}