/* This function is used to check for the read to clear bits within the V2P mailbox.  */
static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask)
/* This function is used to check for the read to clear bits within the V2P mailbox.  */
static s32 e1000_check_for_bit_vf(struct e1000_hw *hw, u32 mask)
{
	u32 v2p_mailbox = e1000_read_v2p_mailbox(hw);
	s32 ret_val = -E1000_ERR_MBX;
	if (v2p_mailbox & mask)
		ret_val = E1000_SUCCESS;
	hw->dev_spec.vf.v2p_mailbox &= ~mask;
	return ret_val;
}