dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Nick Nunley 2010-02-17 01:05:15 +00:00 committed by David S. Miller
parent 91d4ee3382
commit d3eeb62ddd
1 changed files with 0 additions and 4 deletions

View File

@ -2883,7 +2883,6 @@ static int igb_write_mc_addr_list(struct net_device *netdev)
struct e1000_hw *hw = &adapter->hw;
struct dev_mc_list *mc_ptr = netdev->mc_list;
u8 *mta_list;
u32 vmolr = 0;
int i;
if (netdev_mc_empty(netdev)) {
@ -2897,9 +2896,6 @@ static int igb_write_mc_addr_list(struct net_device *netdev)
if (!mta_list)
return -ENOMEM;
/* set vmolr receive overflow multicast bit */
vmolr |= E1000_VMOLR_ROMPE;
/* The shared function expects a packed array of only addresses. */
mc_ptr = netdev->mc_list;