aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-06-28 22:16:33 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-01 01:32:49 -0400
commit781b864711d8cff56af9478be1b892b098e10de8 (patch)
treed56d674fe35e870d5868b255e110804b72dc0814 /drivers/net/ucc_geth.c
parenteb31c4e0b0d8d7f673f95644cbfd2993f1c36840 (diff)
net: ucc_geth: Omit check for multicast bit in netdev_for_each_mc_addr
There is no need to check for the address being a multicast address in the netdev_for_each_mc_addr loop, so remove it. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ucc_geth.c')
-rw-r--r--drivers/net/ucc_geth.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index 3127700f348b..d3465ab50e56 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -2030,11 +2030,6 @@ static void ucc_geth_set_multi(struct net_device *dev)
2030 out_be32(&p_82xx_addr_filt->gaddr_l, 0x0); 2030 out_be32(&p_82xx_addr_filt->gaddr_l, 0x0);
2031 2031
2032 netdev_for_each_mc_addr(ha, dev) { 2032 netdev_for_each_mc_addr(ha, dev) {
2033 /* Only support group multicast for now.
2034 */
2035 if (!is_multicast_ether_addr(ha->addr))
2036 continue;
2037
2038 /* Ask CPM to run CRC and set bit in 2033 /* Ask CPM to run CRC and set bit in
2039 * filter mask. 2034 * filter mask.
2040 */ 2035 */