diff options
Diffstat (limited to 'drivers/net/mv643xx_eth.c')
-rw-r--r-- | drivers/net/mv643xx_eth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index af67af55efe7..e24072a9a979 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c | |||
@@ -55,7 +55,6 @@ | |||
55 | #include <linux/types.h> | 55 | #include <linux/types.h> |
56 | #include <linux/inet_lro.h> | 56 | #include <linux/inet_lro.h> |
57 | #include <asm/system.h> | 57 | #include <asm/system.h> |
58 | #include <linux/list.h> | ||
59 | 58 | ||
60 | static char mv643xx_eth_driver_name[] = "mv643xx_eth"; | 59 | static char mv643xx_eth_driver_name[] = "mv643xx_eth"; |
61 | static char mv643xx_eth_driver_version[] = "1.4"; | 60 | static char mv643xx_eth_driver_version[] = "1.4"; |
@@ -1697,7 +1696,7 @@ static u32 uc_addr_filter_mask(struct net_device *dev) | |||
1697 | return 0; | 1696 | return 0; |
1698 | 1697 | ||
1699 | nibbles = 1 << (dev->dev_addr[5] & 0x0f); | 1698 | nibbles = 1 << (dev->dev_addr[5] & 0x0f); |
1700 | list_for_each_entry(ha, &dev->uc.list, list) { | 1699 | netdev_for_each_uc_addr(ha, dev) { |
1701 | if (memcmp(dev->dev_addr, ha->addr, 5)) | 1700 | if (memcmp(dev->dev_addr, ha->addr, 5)) |
1702 | return 0; | 1701 | return 0; |
1703 | if ((dev->dev_addr[5] ^ ha->addr[5]) & 0xf0) | 1702 | if ((dev->dev_addr[5] ^ ha->addr[5]) & 0xf0) |