Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56b68960 authored by Mitch A Williams's avatar Mitch A Williams Committed by David S. Miller
Browse files

igbvf: Remove unnecessary irq disable/enable



This irq disable/enable pair used to wrap access to the driver's vlgrp
struct, which is no longer present. So, then, this could also so no longer
be present.

Signed-off-by: default avatarMitch Williams <mitch.a.williams@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b2f0f6bb
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1194,11 +1194,6 @@ static int igbvf_vlan_rx_kill_vid(struct net_device *netdev, u16 vid)
	struct igbvf_adapter *adapter = netdev_priv(netdev);
	struct e1000_hw *hw = &adapter->hw;

	igbvf_irq_disable(adapter);

	if (!test_bit(__IGBVF_DOWN, &adapter->state))
		igbvf_irq_enable(adapter);

	if (hw->mac.ops.set_vfta(hw, vid, false)) {
		dev_err(&adapter->pdev->dev,
		        "Failed to remove vlan id %d\n", vid);