diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-02-16 20:05:15 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 16:21:38 -0500 |
commit | d3eeb62ddd06ea20a054213cface92d328709285 (patch) | |
tree | ee0e385a1a7e159d1bfee105509d7ab29797044b | |
parent | 91d4ee3382e78bd78e0251a56e2fa96b20c26e30 (diff) |
igb: remove unused vmolr value
In an earlier version of igb_write_mc_addr_list() the vmolr register
was modified. This register is no longer accessed, although the variable
still exists. This patch removes it from the function.
Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/igb/igb_main.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index ff392e999ffc..a9f4e0288409 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c | |||
@@ -2883,7 +2883,6 @@ static int igb_write_mc_addr_list(struct net_device *netdev) | |||
2883 | struct e1000_hw *hw = &adapter->hw; | 2883 | struct e1000_hw *hw = &adapter->hw; |
2884 | struct dev_mc_list *mc_ptr = netdev->mc_list; | 2884 | struct dev_mc_list *mc_ptr = netdev->mc_list; |
2885 | u8 *mta_list; | 2885 | u8 *mta_list; |
2886 | u32 vmolr = 0; | ||
2887 | int i; | 2886 | int i; |
2888 | 2887 | ||
2889 | if (netdev_mc_empty(netdev)) { | 2888 | if (netdev_mc_empty(netdev)) { |
@@ -2897,9 +2896,6 @@ static int igb_write_mc_addr_list(struct net_device *netdev) | |||
2897 | if (!mta_list) | 2896 | if (!mta_list) |
2898 | return -ENOMEM; | 2897 | return -ENOMEM; |
2899 | 2898 | ||
2900 | /* set vmolr receive overflow multicast bit */ | ||
2901 | vmolr |= E1000_VMOLR_ROMPE; | ||
2902 | |||
2903 | /* The shared function expects a packed array of only addresses. */ | 2899 | /* The shared function expects a packed array of only addresses. */ |
2904 | mc_ptr = netdev->mc_list; | 2900 | mc_ptr = netdev->mc_list; |
2905 | 2901 | ||