/* e1000_clear_vfta - Clears the VLAN filer table @hw: Struct containing variables accessed by shared code  */
static void e1000_clear_vfta(struct e1000_hw *hw)
/* e1000_clear_vfta - Clears the VLAN filer table @hw: Struct containing variables accessed by shared code  */
static void e1000_clear_vfta(struct e1000_hw *hw)
{
	u32 offset;
	u32 vfta_value = 0;
	u32 vfta_offset = 0;
	u32 vfta_bit_in_reg = 0;
	for (offset = 0; offset < E1000_VLAN_FILTER_TBL_SIZE; offset++) {
		vfta_value = (offset == vfta_offset) ? vfta_bit_in_reg : 0;
		E1000_WRITE_REG_ARRAY(hw, VFTA, offset, vfta_value);
		E1000_WRITE_FLUSH();
	}
}