net: ucc_geth: Omit check for multicast bit in netdev_for_each_mc_addr
authorTobias Klauser <tklauser@distanz.ch>
Wed, 29 Jun 2011 02:16:33 +0000 (02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2011 05:32:49 +0000 (22:32 -0700)
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>
drivers/net/ucc_geth.c

index 3127700f348b13a9aa7da2bd81ce79a0a78ee481..d3465ab50e5633aa02901b1dc3e88badbf5c3aa4 100644 (file)
@@ -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.
                                 */