/* ibmvfc_get_prli_rsp - Find PRLI response index @flags: PRLI response flags  */
static int ibmvfc_get_prli_rsp(u16 flags)
/* ibmvfc_get_prli_rsp - Find PRLI response index @flags: PRLI response flags  */
static int ibmvfc_get_prli_rsp(u16 flags)
{
	int i;
	int code = (flags & 0x0f00) >> 8;
	for (i = 0; i < ARRAY_SIZE(prli_rsp); i++)
		if (prli_rsp[i].code == code)
			return i;
	return 0;
}