Skip to content

Commit

Permalink
igbvf: Remove unnecessary irq disable/enable
Browse files Browse the repository at this point in the history
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: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Mitch A Williams authored and David S. Miller committed Jan 19, 2012
1 parent b2f0f6b commit 56b6896
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/ethernet/intel/igbvf/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 56b6896

Please sign in to comment.