From: Tobias Klauser Date: Wed, 29 Jun 2011 02:16:33 +0000 (+0000) Subject: net: ucc_geth: Omit check for multicast bit in netdev_for_each_mc_addr X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=781b864711d8cff56af9478be1b892b098e10de8;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: David S. Miller --- 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) out_be32(&p_82xx_addr_filt->gaddr_l, 0x0); netdev_for_each_mc_addr(ha, dev) { - /* Only support group multicast for now. - */ - if (!is_multicast_ether_addr(ha->addr)) - continue; - /* Ask CPM to run CRC and set bit in * filter mask. */